Money earned from kills now counts toward collection missions.

This prevents the bizarre situation in these missions where avoiding
money allows you to get more money because of the mission never ending.
This commit is contained in:
onpon4 2015-02-27 20:09:07 -05:00
parent 01b5b73dba
commit d44f3f9fcc
1 changed files with 1 additions and 0 deletions

View File

@ -303,6 +303,7 @@ static void destroyAlien(object *bullet, object *theEnemy)
currentGame.cash += theEnemy->score;
currentGame.cashEarned += theEnemy->score;
currentGame.totalKills++;
updateMissionRequirements(M_COLLECT, P_CASH, theEnemy->score);
}
else if (bullet->owner->classDef == CD_PHOEBE)
{