Corrected a bug where optional missions are not counted correctly, once completed.

This commit is contained in:
Steve 2016-08-11 09:44:12 +01:00
parent 71a07430f8
commit f93b8beef4
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ int isMissionAvailable(Mission *mission, Mission *prev)
}
else
{
return (
return mission->completed || (
game.completedMissions >= mission->requires &&
game.stats[STAT_OPTIONAL_COMPLETED] >= mission->requiresOptional &&
game.completedMissions < mission->expires