diff --git a/build/artifacts/release/Paper-Bin.out b/build/artifacts/release/Paper-Bin.out index 04af6c2..77d7a10 100644 Binary files a/build/artifacts/release/Paper-Bin.out and b/build/artifacts/release/Paper-Bin.out differ diff --git a/build/release/Paper-Bin.out b/build/release/Paper-Bin.out index 04af6c2..77d7a10 100755 Binary files a/build/release/Paper-Bin.out and b/build/release/Paper-Bin.out differ diff --git a/build/release/out/c/Paper-Bin.o b/build/release/out/c/Paper-Bin.o index b245f29..18a83f2 100644 Binary files a/build/release/out/c/Paper-Bin.o and b/build/release/out/c/Paper-Bin.o differ diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index d0367d2..38b72ad 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -25,7 +25,7 @@ int lifeCount = 3; int ballX = -1; int ballY = 27; int windIntervall = 0; -int lvlnumber = 1; +int lvlNumber = 1; #pragma endregion @@ -149,7 +149,7 @@ void loadLevel(int lvlnum) int main() { - loadLevel(lvlnumber); + loadLevel(lvlNumber); while (1) { clearField(); @@ -161,7 +161,7 @@ int main() { case (1): scorePoints += 50; - loadLevel(++lvlnumber); + loadLevel(++lvlNumber); break; case (2): @@ -169,7 +169,7 @@ int main() lifeCount--; if (lifeCount < 1) { - if (lvlnumber == 1) + if (lvlNumber == 1) { char choice = ' '; printf("Scheint so, als wäre das Spiel eine Nummer zu groß für dich!\n"); @@ -182,7 +182,7 @@ int main() sortScoreboard(); return 0; } - loadLevel(lvlnumber); + loadLevel(lvlNumber); break; } ball_In_Bin = 0; @@ -260,7 +260,7 @@ void generateField() } - if (lvlnumber > 6 && windIntervall % 2 == 0) + if (lvlNumber > 6 && windIntervall % 2 == 0) { windForce < 0 ? (ballX -= windForce * -1) : (ballX += windForce); }