Only allow missions to be replayed that were made available in the main game (i.e., don't unlock optional ones if they were skipped).
This commit is contained in:
parent
b7f8c94e0d
commit
620edc4127
|
@ -156,7 +156,10 @@ static void updateCampaignProgress(void)
|
||||||
{
|
{
|
||||||
for (starSystem = game.starSystemHead.next ; starSystem != NULL ; starSystem = starSystem->next)
|
for (starSystem = game.starSystemHead.next ; starSystem != NULL ; starSystem = starSystem->next)
|
||||||
{
|
{
|
||||||
starSystem->activeMission = starSystem->missionHead.next;
|
if (starSystem->missionHead.next && starSystem->missionHead.next->available)
|
||||||
|
{
|
||||||
|
starSystem->activeMission = starSystem->missionHead.next;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
campaignComplete = 1;
|
campaignComplete = 1;
|
||||||
|
|
Loading…
Reference in New Issue