From d6731c09d4fec0e1c362098ad4909da3e40e4e2c Mon Sep 17 00:00:00 2001 From: Layla Marchant Date: Sat, 7 Mar 2020 23:31:28 -0500 Subject: [PATCH] Parentheses --- src/collectable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collectable.c b/src/collectable.c index a7975dd..8a8ddfb 100644 --- a/src/collectable.c +++ b/src/collectable.c @@ -220,7 +220,7 @@ void collectable_add(float x, float y, int type, int value, int life) collectable->dx = RANDRANGE(-100, 100) / 100.; collectable->dy = RANDRANGE(-100, 100) / 100.; - if (game.difficulty != DIFFICULTY_ORIGINAL && type != P_MINE) + if ((game.difficulty != DIFFICULTY_ORIGINAL) && (type != P_MINE)) { collectable->dx /= 2; collectable->dy /= 2;