diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 37f64aa..4a63df1 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -343,16 +343,16 @@ void sortScoreboard() } //Spielerliste mithilfe einer Hilfsveriable sortieren, um sie danach direkt ausgeben zu koennen - struct Player temp; + struct Player tmp; for (int i = 0; i < numberOfLines; i++) { for (int j = 0; j < (numberOfLines - i); j++) { if (playerlist[i].Points < playerlist[i + 1].Points) { - temp = playerlist[i]; + tmp = playerlist[i]; playerlist[i] = playerlist[i + 1]; - playerlist[i + 1] = temp; + playerlist[i + 1] = tmp; } } }