Browse Source

Fehlerbehebung im sechsten case

main
fdai7037 2 years ago
parent
commit
31dc8072cf
  1. 8
      src/Paper-Bin.c

8
src/Paper-Bin.c

@ -53,15 +53,15 @@ void loadLevel(int lvlnum){
case(4): case(4):
case(5): case(5):
case(6): case(6):
tmpX = rand() % 17;
tmpY = rand() % 10;
tmpX = rand() % 19;
tmpY = rand() % 12;
while (3 >tmpX) while (3 >tmpX)
{ {
tmpX = rand()%17;
tmpX = rand()%19;
} }
while (3 > tmpY) while (3 > tmpY)
{ {
tmpY = rand() % 10;
tmpY = rand() % 12;
} }
BinX = tmpX; BinX = tmpX;
BinY = tmpY; BinY = tmpY;

Loading…
Cancel
Save