Halved speed of collectables outside of Classic difficulty.

This is meant so that bosses with huge drops, especially Krass Tyler,
don't have their stuff spread out too rapidly.
This commit is contained in:
Layla Marchant 2020-03-07 23:12:42 -05:00
parent b3a5344e21
commit 781b5c7f81
1 changed files with 2 additions and 4 deletions

View File

@ -219,12 +219,10 @@ void collectable_add(float x, float y, int type, int value, int life)
collectable->y = y;
collectable->dx = RANDRANGE(-100, 100);
if (collectable->dx != 0)
collectable->dx /= 100;
collectable->dx /= (game.difficulty == DIFFICULTY_ORIGINAL ? 100. : 200.);
collectable->dy = RANDRANGE(-100, 100);
if (collectable->dy != 0)
collectable->dy /= 100;
collectable->dy /= (game.difficulty == DIFFICULTY_ORIGINAL ? 100. : 200.);
collectable->type = type;
collectable->value = value;