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:
parent
01b5b73dba
commit
d44f3f9fcc
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue