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

Loading…
Cancel
Save