diff options
author | Peter Kohaut | 2019-01-21 21:57:44 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-21 22:03:01 +0100 |
commit | 364a2aa0fbe1c6640fdaeb15cfd7cc66fd9e4a42 (patch) | |
tree | d0eabbce85750bdefe3d8a8182cbf228cd751dca /engines/bladerunner/script/scene/hf02.cpp | |
parent | 43a3eed2b2af3db6723d45d5379876a99693a7b8 (diff) | |
download | scummvm-rg350-364a2aa0fbe1c6640fdaeb15cfd7cc66fd9e4a42.tar.gz scummvm-rg350-364a2aa0fbe1c6640fdaeb15cfd7cc66fd9e4a42.tar.bz2 scummvm-rg350-364a2aa0fbe1c6640fdaeb15cfd7cc66fd9e4a42.zip |
BLADERUNNER: More game constants
Added Region_Check functionality
Code cleanup
Diffstat (limited to 'engines/bladerunner/script/scene/hf02.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/hf02.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/hf02.cpp b/engines/bladerunner/script/scene/hf02.cpp index 1bc4e9501f..c7a179587c 100644 --- a/engines/bladerunner/script/scene/hf02.cpp +++ b/engines/bladerunner/script/scene/hf02.cpp @@ -85,7 +85,7 @@ bool SceneScriptHF02::ClickedOnItem(int itemId, bool a2) { bool SceneScriptHF02::ClickedOnExit(int exitId) { if (exitId == 0) { if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 42.0f, 47.76f, -296.0f, 0, 1, false, 0)) { - Ambient_Sounds_Remove_All_Non_Looping_Sounds(1); + Ambient_Sounds_Remove_All_Non_Looping_Sounds(true); Ambient_Sounds_Remove_All_Looping_Sounds(1); Game_Flag_Set(kFlagHF02toHF01); Set_Enter(kSetHF01, kSceneHF01); @@ -94,7 +94,7 @@ bool SceneScriptHF02::ClickedOnExit(int exitId) { } if (exitId == 1) { if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 470.0f, 47.76f, -444.0f, 0, 1, false, 0)) { - Ambient_Sounds_Remove_All_Non_Looping_Sounds(1); + Ambient_Sounds_Remove_All_Non_Looping_Sounds(true); Ambient_Sounds_Remove_All_Looping_Sounds(1); Game_Flag_Set(527); Set_Enter(kSetHF03, kSceneHF03); |