|
@ -340,8 +340,9 @@ void sortScoreboard() |
|
|
sleep(0.1); |
|
|
sleep(0.1); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//Spielerliste mithilfe einer Hilfsveriable sortieren, um sie danach direkt ausgeben zu koennen |
|
|
struct Player temp; |
|
|
struct Player temp; |
|
|
for (int i = 0; i < numberOfLines; i++) |
|
|
|
|
|
|
|
|
for (int i = 0; i < numberOfLines; i++) |
|
|
{ |
|
|
{ |
|
|
for (int j = 0; j < (numberOfLines - i); j++) |
|
|
for (int j = 0; j < (numberOfLines - i); j++) |
|
|
{ |
|
|
{ |
|
|