Parentheses

This commit is contained in:
Layla Marchant 2020-03-07 23:31:28 -05:00
parent 44a536cd00
commit d6731c09d4
1 changed files with 1 additions and 1 deletions

View File

@ -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;