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/nr05.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/nr05.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/nr05.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/bladerunner/script/scene/nr05.cpp b/engines/bladerunner/script/scene/nr05.cpp index 15a626ae2b..96b881b729 100644 --- a/engines/bladerunner/script/scene/nr05.cpp +++ b/engines/bladerunner/script/scene/nr05.cpp @@ -185,7 +185,7 @@ void SceneScriptNR05::PlayerWalkedOut() { if (Game_Flag_Query(537)) { Music_Stop(2); } - Ambient_Sounds_Remove_All_Non_Looping_Sounds(1); + Ambient_Sounds_Remove_All_Non_Looping_Sounds(true); Ambient_Sounds_Remove_All_Looping_Sounds(1); } @@ -226,13 +226,13 @@ void SceneScriptNR05::sub_4020B4() { Actor_Says(kActorEarlyQBartender, 40, 13); Actor_Change_Animation_Mode(kActorEarlyQBartender, 23); Actor_Change_Animation_Mode(kActorMcCoy, 75); - Global_Variable_Increment(42, 1); + Global_Variable_Increment(kVariableMcCoyDrinks, 1); } else { Actor_Says(kActorMcCoy, 3475, 17); Actor_Says(kActorEarlyQBartender, 20, 23); Game_Flag_Set(589); Actor_Change_Animation_Mode(kActorMcCoy, 75); - Global_Variable_Increment(42, 1); + Global_Variable_Increment(kVariableMcCoyDrinks, 1); } } else { Actor_Says(kActorEarlyQBartender, 0, 13); @@ -240,7 +240,7 @@ void SceneScriptNR05::sub_4020B4() { Actor_Says(kActorEarlyQBartender, 10, 23); Game_Flag_Set(588); Actor_Change_Animation_Mode(kActorMcCoy, 75); - Global_Variable_Increment(42, 1); + Global_Variable_Increment(kVariableMcCoyDrinks, 1); } } |