Don't drop shield bonuses in Nightmare difficulty.

This commit is contained in:
onpon4 2015-02-27 22:16:53 -05:00
parent c9fb4e793c
commit 66c413f913
1 changed files with 9 additions and 0 deletions

View File

@ -92,6 +92,15 @@ void addCollectable(float x, float y, int type, int value, int life)
}
}
// Shield bonus is useless in Nightmare difficulty; give cash instead.
if (type == P_SHIELD)
{
if (currentGame.difficulty >= DIFFICULTY_NIGHTMARE)
{
type = P_CASH;
}
}
collectables *collectable = new collectables;
collectable->next = NULL;