diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 69f2fc3..16b3056 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -25,6 +25,7 @@ void generateField(); void sortScoreboard(); void buildBin(int width, int height); void getStartPosition(); +int checkBallPosition(); struct Player @@ -259,7 +260,7 @@ void Generatefield() { } if (lvlnumber > 6 && windIntervall % 2 == 0) { - windForce < 0 ? (Ballx -= windForce * -5) : (Ballx += windForce); + windForce < 0 ? (Ballx -= windForce * -1) : (Ballx += windForce); } windIntervall++;