Fully clean trophy bug fix.

This commit is contained in:
Steve 2018-02-27 08:16:34 +00:00
parent b31d061d42
commit 20d1548f42
2 changed files with 6 additions and 5 deletions

View File

@ -747,6 +747,12 @@ static void awardMissionTrophies(void)
{ {
awardTrophy("CLEAN"); awardTrophy("CLEAN");
} }
/* ignore Teeka's */
if (numMissions - completedMissions == 1)
{
awardTrophy("FULLY_CLEAN");
}
} }
static int missionComparator(const void *a, const void *b) static int missionComparator(const void *a, const void *b)

View File

@ -45,11 +45,6 @@ void initPostMission(void)
{ {
app.restrictTrophyAlert = 0; app.restrictTrophyAlert = 0;
if (status == MS_COMPLETE)
{
awardTrophy("FULLY_CLEAN");
}
canContinue = 0; canContinue = 0;
oNum = 0; oNum = 0;