Browse Source

refactoring: Variablenbezeichnung korrigiert

main
fdai7037 2 years ago
parent
commit
179e6ea4f6
  1. 6
      src/Paper-Bin.c

6
src/Paper-Bin.c

@ -147,9 +147,9 @@ int main()
clearField(); clearField();
field[ballX][ballY -= 1] = 'O'; field[ballX][ballY -= 1] = 'O';
generateField(); generateField();
int Ball_In_Bin = checkBallPosition();
int ball_In_Bin = checkBallPosition();
switch (Ball_In_Bin)
switch (ball_In_Bin)
{ {
case (1): case (1):
ScorePoints += 50; ScorePoints += 50;
@ -177,7 +177,7 @@ int main()
loadLevel(lvlnumber); loadLevel(lvlnumber);
break; break;
} }
Ball_In_Bin = 0;
ball_In_Bin = 0;
sleep(1); sleep(1);
} }
} }

Loading…
Cancel
Save