Check for fully completed mission in PostMission.

This commit is contained in:
Steve 2018-02-25 12:53:48 +00:00
parent 443255baea
commit 5f7367403d
2 changed files with 5 additions and 6 deletions

View File

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

View File

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