aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/ct06.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/scene/ct06.cpp')
-rw-r--r--engines/bladerunner/script/scene/ct06.cpp4
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 {