aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/tb03.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2018-02-13 23:08:37 +0100
committerPeter Kohaut2018-02-13 23:08:37 +0100
commit817cb5d7e1a22c37cb9ec7ae6d24c7210234ada4 (patch)
tree3247ee9b3138c144998ae93fdf527a2e74ab6ef0 /engines/bladerunner/script/scene/tb03.cpp
parentbfef3da347490d4caaf2ced4b8dd70a40fc47531 (diff)
downloadscummvm-rg350-817cb5d7e1a22c37cb9ec7ae6d24c7210234ada4.tar.gz
scummvm-rg350-817cb5d7e1a22c37cb9ec7ae6d24c7210234ada4.tar.bz2
scummvm-rg350-817cb5d7e1a22c37cb9ec7ae6d24c7210234ada4.zip
BLADERUNNER: More game constants
Diffstat (limited to 'engines/bladerunner/script/scene/tb03.cpp')
-rw-r--r--engines/bladerunner/script/scene/tb03.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/tb03.cpp b/engines/bladerunner/script/scene/tb03.cpp
index 8803740d7a..274ea10cfa 100644
--- a/engines/bladerunner/script/scene/tb03.cpp
+++ b/engines/bladerunner/script/scene/tb03.cpp
@@ -38,7 +38,7 @@ void SceneScriptTB03::InitializeScene() {
Ambient_Sounds_Add_Sound(214, 2, 20, 16, 20, 0, 0, -101, -101, 0, 0);
Ambient_Sounds_Add_Sound(215, 2, 15, 16, 20, 0, 0, -101, -101, 0, 0);
Ambient_Sounds_Add_Sound(216, 2, 15, 16, 20, 0, 0, -101, -101, 0, 0);
- if (Global_Variable_Query(1) <= 3) {
+ if (Global_Variable_Query(kVariableChapter) <= 3) {
Ambient_Sounds_Add_Looping_Sound(45, 25, 0, 1);
Ambient_Sounds_Add_Sound(181, 5, 70, 12, 12, -100, 100, -101, -101, 0, 0);
Ambient_Sounds_Add_Sound(182, 5, 70, 12, 12, -100, 100, -101, -101, 0, 0);
@@ -57,7 +57,7 @@ void SceneScriptTB03::InitializeScene() {
}
Actor_Put_In_Set(kActorTyrellGuard, 17);
Actor_Set_At_XYZ(kActorTyrellGuard, -38.53f, 2.93f, 1475.97f, 673);
- if (Global_Variable_Query(1) == 4) {
+ if (Global_Variable_Query(kVariableChapter) == 4) {
int goal = Actor_Query_Goal_Number(kActorTyrellGuard);
if (goal == 304) {
Actor_Change_Animation_Mode(kActorTyrellGuard, 0);