From d44f3f9fcc03f4da61d2e2e57b55b2d7c31e04e7 Mon Sep 17 00:00:00 2001 From: onpon4 Date: Fri, 27 Feb 2015 20:09:07 -0500 Subject: [PATCH] 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. --- src/bullets.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bullets.cpp b/src/bullets.cpp index 6fb6c3d..60380a9 100644 --- a/src/bullets.cpp +++ b/src/bullets.cpp @@ -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) {