Check for fully completed mission in PostMission.
This commit is contained in:
parent
443255baea
commit
5f7367403d
|
@ -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)
|
||||
|
|
|
@ -45,6 +45,11 @@ void initPostMission(void)
|
|||
{
|
||||
app.restrictTrophyAlert = 0;
|
||||
|
||||
if (status == MS_COMPLETE)
|
||||
{
|
||||
awardTrophy("FULLY_CLEAN");
|
||||
}
|
||||
|
||||
canContinue = 0;
|
||||
|
||||
oNum = 0;
|
||||
|
|
Loading…
Reference in New Issue