From 31dc8072cfe891cdcf350ee555ae84dcd90e55a9 Mon Sep 17 00:00:00 2001 From: fdai7037 Date: Wed, 8 Feb 2023 21:23:54 +0100 Subject: [PATCH] Fehlerbehebung im sechsten case --- src/Paper-Bin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 8d07597..581e4a2 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -53,15 +53,15 @@ void loadLevel(int lvlnum){ case(4): case(5): case(6): - tmpX = rand() % 17; - tmpY = rand() % 10; + tmpX = rand() % 19; + tmpY = rand() % 12; while (3 >tmpX) { - tmpX = rand()%17; + tmpX = rand()%19; } while (3 > tmpY) { - tmpY = rand() % 10; + tmpY = rand() % 12; } BinX = tmpX; BinY = tmpY;