From 08f1f568813fa057faee6b4f257d2d880c9afa61 Mon Sep 17 00:00:00 2001 From: Quinn <99677023+thepigeongenerator@users.noreply.github.com> Date: Wed, 4 Sep 2024 16:16:48 +0200 Subject: [PATCH] add patentees 2 --- src/level.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/level.c b/src/level.c index de98ddc..6db0b3b 100644 --- a/src/level.c +++ b/src/level.c @@ -51,7 +51,7 @@ void level_init(Level* level) { static void update_player(Bouncer* bouncer, Ball* ball, const Uint8* keys) { // if move bouncer LEFT if (keys[SDL_SCANCODE_A] || keys[SDL_SCANCODE_LEFT]) { - if ((bouncer->pos.x) < 0 == false) { + if (((bouncer->pos.x) < 0) == false) { bouncer->pos.x -= BOUNCER_SPEED; if (ball->moving == false)