diff options
author | Peter Kohaut | 2019-01-27 00:04:06 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-27 11:49:00 +0100 |
commit | de1dabd072d0b24d0d2a847a290d7eefc84b7e6e (patch) | |
tree | e29aaa8c33e78905e10c9afc2b323b3a3ebd1cd6 /engines/bladerunner/script/ai/early_q.cpp | |
parent | 2bea2307111c8ab1f072b899cbc4780f31ffd162 (diff) | |
download | scummvm-rg350-de1dabd072d0b24d0d2a847a290d7eefc84b7e6e.tar.gz scummvm-rg350-de1dabd072d0b24d0d2a847a290d7eefc84b7e6e.tar.bz2 scummvm-rg350-de1dabd072d0b24d0d2a847a290d7eefc84b7e6e.zip |
BLADERUNNER: Cleanup & fix of Lucy chase scripts
First wait-point in Hystersia Maze was incorrectly triggered
Diffstat (limited to 'engines/bladerunner/script/ai/early_q.cpp')
-rw-r--r-- | engines/bladerunner/script/ai/early_q.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/bladerunner/script/ai/early_q.cpp b/engines/bladerunner/script/ai/early_q.cpp index 40cd1b2722..826a339234 100644 --- a/engines/bladerunner/script/ai/early_q.cpp +++ b/engines/bladerunner/script/ai/early_q.cpp @@ -281,7 +281,10 @@ bool AIScriptEarlyQ::GoalChanged(int currentGoalNumber, int newGoalNumber) { AI_Movement_Track_Flush(kActorEarlyQ); Actor_Put_In_Set(kActorEarlyQ, kSetFreeSlotH); Actor_Set_At_Waypoint(kActorEarlyQ, 40, 0); - if (Game_Flag_Query(47) == 1 && Game_Flag_Query(592) && Game_Flag_Query(593)) { + if (Game_Flag_Query(47) == 1 + && Game_Flag_Query(592) + && Game_Flag_Query(kFlagLucyRanAway) + ) { Actor_Set_Goal_Number(kActorEarlyQ, 220); } else if (Game_Flag_Query(47)) { Actor_Set_Goal_Number(kActorEarlyQ, 230); |