aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanasis Antoniou2019-07-29 11:21:43 +0300
committerThanasis Antoniou2019-07-29 11:21:43 +0300
commit5b3c577b8415f4ce6a43ba98e1211961e35f3e8f (patch)
tree352b2dd057b92f4c17f075084fcbc1840fff656e
parent52c03a2a590f750503bea91fb0376ff90060de15 (diff)
downloadscummvm-rg350-5b3c577b8415f4ce6a43ba98e1211961e35f3e8f.tar.gz
scummvm-rg350-5b3c577b8415f4ce6a43ba98e1211961e35f3e8f.tar.bz2
scummvm-rg350-5b3c577b8415f4ce6a43ba98e1211961e35f3e8f.zip
BLADERUNNER: Remove buzz at transition PS11 to PS10
-rw-r--r--engines/bladerunner/script/scene/ps10.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/ps10.cpp b/engines/bladerunner/script/scene/ps10.cpp
index 01e28a5903..31efc28f2f 100644
--- a/engines/bladerunner/script/scene/ps10.cpp
+++ b/engines/bladerunner/script/scene/ps10.cpp
@@ -418,8 +418,10 @@ void SceneScriptPS10::InitializeScene() {
Ambient_Sounds_Add_Sound(kSfxBBMOVE3, 5, 100, 17, 27, -100, 100, -101, -101, 0, 0);
#if BLADERUNNER_ORIGINAL_BUGS
#else
- // Moved here from PS15
- Sound_Play(kSfxLABBUZZ1, 90, 0, 0, 50);
+ if (!Game_Flag_Query(kFlagPS11toPS10)) {
+ // Moved here from PS15
+ Sound_Play(kSfxLABBUZZ1, 90, 0, 0, 50);
+ }
#endif // BLADERUNNER_ORIGINAL_BUGS
}