fix
This commit is contained in:
parent
6ba60e0784
commit
5fe070ed6a
BIN
highscore.o
Normal file
BIN
highscore.o
Normal file
Binary file not shown.
@ -1,6 +1,10 @@
|
||||
player_name;8964
|
||||
player_name;6979
|
||||
player_name;5988
|
||||
player_name;5987
|
||||
player_name;4982
|
||||
player1;3999
|
||||
player_name;3992
|
||||
player_name;3989
|
||||
player_name;2996
|
||||
player_name;2996
|
||||
|
||||
@ -96,6 +96,7 @@ unsigned int *createNumbers(unsigned int len)
|
||||
//duplizierte Zahl hinzufügen
|
||||
unsigned int dupIndex = rand() % len;
|
||||
unsigned int targetIndex = rand() % len;
|
||||
//FOR-SCHLEIFE VERWENDEN!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
if (dupIndex != targetIndex)
|
||||
{
|
||||
numbers[targetIndex] = numbers[dupIndex];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user