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