Parentheses
This commit is contained in:
parent
44a536cd00
commit
d6731c09d4
|
@ -220,7 +220,7 @@ void collectable_add(float x, float y, int type, int value, int life)
|
||||||
collectable->dx = RANDRANGE(-100, 100) / 100.;
|
collectable->dx = RANDRANGE(-100, 100) / 100.;
|
||||||
collectable->dy = 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->dx /= 2;
|
||||||
collectable->dy /= 2;
|
collectable->dy /= 2;
|
||||||
|
|
Loading…
Reference in New Issue