Browse Source

refactoring: Die Lesbarkeit im sechsten Case verbessert

main
fdai7037 2 years ago
parent
commit
fd0373d9c5
  1. 4
      src/Paper-Bin.c

4
src/Paper-Bin.c

@ -83,9 +83,9 @@ void loadLevel(int lvlnum)
case (6): case (6):
tmpX = rand() % 19; tmpX = rand() % 19;
tmpY = rand() % 12; tmpY = rand() % 12;
while (5 >tmpX)
while (5 > tmpX)
{ {
tmpX = rand()%19;
tmpX = rand() % 19;
} }
while (5 > tmpY) while (5 > tmpY)
{ {

Loading…
Cancel
Save