diff options
author | Thanasis Antoniou | 2019-04-05 21:33:47 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-04-05 21:35:55 +0300 |
commit | a0beaa6f4e925292f3ffaa8045e580cd579d3ed0 (patch) | |
tree | 8debb2e8a7d8d7a58295d939ea8cd8bfe2b3e8e5 /engines/bladerunner/script/scene/ug08.cpp | |
parent | 62660da0bc8bdbaa464f8b25ee993f6dfb90aa85 (diff) | |
download | scummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.tar.gz scummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.tar.bz2 scummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.zip |
BLADERUNNER: SFX named constants and MissSound fix
Still pending cleaning up Ambient_Sounds_Add_Sound and Ambient_Sounds_Add_Looping_Sound calls
Diffstat (limited to 'engines/bladerunner/script/scene/ug08.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ug08.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/bladerunner/script/scene/ug08.cpp b/engines/bladerunner/script/scene/ug08.cpp index 65e790b7c6..492b3d3998 100644 --- a/engines/bladerunner/script/scene/ug08.cpp +++ b/engines/bladerunner/script/scene/ug08.cpp @@ -58,14 +58,14 @@ void SceneScriptUG08::InitializeScene() { Ambient_Sounds_Add_Sound(305, 5, 50, 17, 37, -100, 100, -101, -101, 0, 0); if (!Game_Flag_Query(kFlagUG08Entered)) { - Game_Flag_Set(kFlagUB08ElevatorUp); + Game_Flag_Set(kFlagUG08ElevatorUp); Game_Flag_Set(kFlagUG08Entered); } if (Game_Flag_Query(kFlagUG13toUG08)) { Scene_Loop_Start_Special(kSceneLoopModeLoseControl, kUG08LoopElevatorComingUp, false); Scene_Loop_Set_Default(kUG08LoopMainLoopElevator); - } else if (Game_Flag_Query(kFlagUB08ElevatorUp)) { + } else if (Game_Flag_Query(kFlagUG08ElevatorUp)) { Scene_Loop_Set_Default(kUG08LoopMainLoopElevator); } else { Scene_Loop_Set_Default(kUG08LoopMainNoElevator); @@ -115,7 +115,7 @@ bool SceneScriptUG08::ClickedOnExit(int exitId) { Player_Loses_Control(); Actor_Set_Invisible(kActorMcCoy, true); Game_Flag_Set(kFlagUG08toUG13); - Game_Flag_Reset(kFlagUB08ElevatorUp); + Game_Flag_Reset(kFlagUG08ElevatorUp); Set_Enter(kSetUG13, kSceneUG13); Scene_Loop_Start_Special(kSceneLoopModeChangeSet, kUG08LoopElevatorGoingDown, false); return false; @@ -130,7 +130,7 @@ bool SceneScriptUG08::ClickedOn2DRegion(int region) { void SceneScriptUG08::SceneFrameAdvanced(int frame) { if (frame == 91) { - Ambient_Sounds_Play_Sound(372, 90, 0, 0, 100); + Ambient_Sounds_Play_Sound(kSfxCARGELE2, 90, 0, 0, 100); } } |