aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/hf01.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-28 19:28:46 +0100
committerPeter Kohaut2019-01-28 20:45:48 +0100
commit578d98ee1265eacfe79a4154225e8120b564ae0e (patch)
tree0afcb590c95f46c32961f7922bae1f2de470c015 /engines/bladerunner/script/scene/hf01.cpp
parent77adb67664cc4aa4c348709504d68e21a8c9791e (diff)
downloadscummvm-rg350-578d98ee1265eacfe79a4154225e8120b564ae0e.tar.gz
scummvm-rg350-578d98ee1265eacfe79a4154225e8120b564ae0e.tar.bz2
scummvm-rg350-578d98ee1265eacfe79a4154225e8120b564ae0e.zip
BLADERUNNER: Cleanup of scripts for Gordo chase
Diffstat (limited to 'engines/bladerunner/script/scene/hf01.cpp')
-rw-r--r--engines/bladerunner/script/scene/hf01.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/hf01.cpp b/engines/bladerunner/script/scene/hf01.cpp
index 18b3ac2e38..a91f55b7ec 100644
--- a/engines/bladerunner/script/scene/hf01.cpp
+++ b/engines/bladerunner/script/scene/hf01.cpp
@@ -344,7 +344,7 @@ void SceneScriptHF01::PlayerWalkedIn() {
) {
if (Actor_Clue_Query(kActorMcCoy, kCluePhoneCallLucy1)
&& Global_Variable_Query(kVariableAffectionTowards) == kAffectionTowardsLucy
- && Actor_Query_Goal_Number(kActorLucy) != 599
+ && Actor_Query_Goal_Number(kActorLucy) != kGoalLucyDead
) {
Actor_Put_In_Set(kActorLucy, kSetHF01);
Actor_Set_At_XYZ(kActorLucy, -5.0f, 8.0f, -622.0f, 419);
@@ -421,7 +421,7 @@ void SceneScriptHF01::PlayerWalkedOut() {
if (Actor_Query_Goal_Number(kActorLucy) == 450) {
Actor_Put_In_Set(kActorLucy, kSetFreeSlotG);
Actor_Set_At_Waypoint(kActorLucy, 39, 0);
- Actor_Set_Goal_Number(kActorLucy, 599);
+ Actor_Set_Goal_Number(kActorLucy, kGoalLucyDead);
}
if (Actor_Query_Goal_Number(kActorDektora) == 450) {