Make cargo indestructible in easy difficulty.

Avoiding destroying the cargo is rather tough, so it's really
not appropriate for easy difficulty.
This commit is contained in:
onpon4 2015-02-27 18:45:21 -05:00
parent 98da910493
commit b87a432653
1 changed files with 2 additions and 1 deletions

View File

@ -712,7 +712,8 @@ void doBullets()
}
}
if (((bullet->owner == &player)) || (bullet->id == WT_ROCKET))
if ((currentGame.difficulty > DIFFICULTY_EASY) &&
((bullet->owner == &player) || (bullet->id == WT_ROCKET)))
{
for (int j = 0 ; j < 20 ; j++)
{