From c1f46bb8e2c286082c49565f79627110217fba3c Mon Sep 17 00:00:00 2001 From: fdai7172 Date: Wed, 8 Feb 2023 21:15:31 +0100 Subject: [PATCH] Fehlerbehebung bei checkBallPosition --- src/Paper-Bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 8b3c132..b47fac8 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -287,7 +287,7 @@ void addScoreboard() int checkBallPosition() { - if (BinY + 24 == Bally && (Ballx == BinX || Ballx == BinX + 2 || Ballx == BinX - 2)) + if (BinY + 2 == Bally && (Ballx == BinX || Ballx == BinX + 1 || Ballx == BinX - 1)) { return 1; }