From 81663aca520a434288ab01bcab20b49011c91570 Mon Sep 17 00:00:00 2001 From: onpon4 Date: Sat, 28 Feb 2015 10:03:27 -0500 Subject: [PATCH] Fixed not being able to complete missions after destroying interceptions. There was a check that was supposed to prevent completing missions on death, but it also prevented completing missions after an area was finished. This was in particular a problem in interceptions, where rescuing slaves after destroying interceptions didn't have any effect on the slave rescue mission. --- src/missions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/missions.cpp b/src/missions.cpp index c882e33..6cb682d 100644 --- a/src/missions.cpp +++ b/src/missions.cpp @@ -390,7 +390,7 @@ static void evaluateRequirement(int type, int id, int *completed, int *targetVal void updateMissionRequirements(int type, int id, int value) { // Can't complete missions if you're dead! - if (engine.missionCompleteTimer != 0) + if (player.shield <= 0) return; char message[25];