From 179e6ea4f65a42a29def150d21a7ddd180c0be05 Mon Sep 17 00:00:00 2001 From: fdai7037 Date: Wed, 8 Feb 2023 23:15:03 +0100 Subject: [PATCH] refactoring: Variablenbezeichnung korrigiert --- src/Paper-Bin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index c1bb4dc..09935d8 100644 --- a/src/Paper-Bin.c +++ b/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); } }