diff options
author | Peter Kohaut | 2018-02-13 23:08:37 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-02-13 23:08:37 +0100 |
commit | 817cb5d7e1a22c37cb9ec7ae6d24c7210234ada4 (patch) | |
tree | 3247ee9b3138c144998ae93fdf527a2e74ab6ef0 /engines/bladerunner/script/scene/ct06.cpp | |
parent | bfef3da347490d4caaf2ced4b8dd70a40fc47531 (diff) | |
download | scummvm-rg350-817cb5d7e1a22c37cb9ec7ae6d24c7210234ada4.tar.gz scummvm-rg350-817cb5d7e1a22c37cb9ec7ae6d24c7210234ada4.tar.bz2 scummvm-rg350-817cb5d7e1a22c37cb9ec7ae6d24c7210234ada4.zip |
BLADERUNNER: More game constants
Diffstat (limited to 'engines/bladerunner/script/scene/ct06.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ct06.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/ct06.cpp b/engines/bladerunner/script/scene/ct06.cpp index 1bb00c1ca1..d2163aaf3e 100644 --- a/engines/bladerunner/script/scene/ct06.cpp +++ b/engines/bladerunner/script/scene/ct06.cpp @@ -35,7 +35,7 @@ void SceneScriptCT06::InitializeScene() { } Scene_Exit_Add_2D_Exit(0, 0, 440, 639, 479, 2); Scene_Exit_Add_2D_Exit(1, 401, 162, 536, 317, 0); - if (Game_Flag_Query(40) && Actor_Query_In_Set(kActorZuben, 30)) { + if (Game_Flag_Query(kFlagZubenRetired) && Actor_Query_In_Set(kActorZuben, 30)) { Actor_Put_In_Set(kActorZuben, 29); Actor_Set_At_XYZ(kActorZuben, 58.41f, -58.23f, -24.97f, 240); Actor_Retired_Here(kActorZuben, 72, 36, 1, kActorMcCoy); @@ -140,7 +140,7 @@ bool SceneScriptCT06::ClickedOnExit(int exitId) { return true; } if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 203.91f, -58.02f, 0.47f, 0, 1, false, 0)) { - if (Global_Variable_Query(1) < 3) { + if (Global_Variable_Query(kVariableChapter) < 3) { Actor_Face_Object(kActorMcCoy, "DOOR", true); Actor_Says(kActorMcCoy, 8522, 12); } else { |