From 18f4d0027ff5e3c87027163d6c57e20a9243c392 Mon Sep 17 00:00:00 2001 From: fdai7172 Date: Thu, 9 Feb 2023 01:03:16 +0100 Subject: [PATCH] refactoring: Argument in der Methode loadLevel angepasst --- src/Paper-Bin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 4edf25b..8873439 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -60,7 +60,7 @@ void buildBin(int width, int heigth) field[width][heigth + 1] = ' '; } -void loadLevel(int lvlnum) +void loadLevel(int lvlNum) { clearField(); ballX = -1; @@ -69,7 +69,7 @@ void loadLevel(int lvlnum) int tmpX; int tmpY; - switch (lvlnum) + switch (lvlNum) { //Level 1: Nur der Korb wird erstellt case (1):