Browse Source

Fehlerbehebung bei checkBallPosition

main
fdai7172 2 years ago
parent
commit
c1f46bb8e2
  1. 2
      src/Paper-Bin.c

2
src/Paper-Bin.c

@ -287,7 +287,7 @@ void addScoreboard()
int checkBallPosition() 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; return 1;
} }

Loading…
Cancel
Save