aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/sound.cpp
diff options
context:
space:
mode:
authorStrangerke2014-11-01 12:35:59 +0100
committerStrangerke2014-11-01 12:35:59 +0100
commit14ab55e9badc97fd6554214408da33663a88c792 (patch)
tree31f9d527a5b4bc0ebc42487ee17b1c92f88e8d78 /engines/hopkins/sound.cpp
parent9561d5f6f8d5fab355ee56f70879443177b58ee1 (diff)
downloadscummvm-rg350-14ab55e9badc97fd6554214408da33663a88c792.tar.gz
scummvm-rg350-14ab55e9badc97fd6554214408da33663a88c792.tar.bz2
scummvm-rg350-14ab55e9badc97fd6554214408da33663a88c792.zip
HOPKINS: Add a check for another sound related to frames removed in the Polish version. Fix for bug #6591
Diffstat (limited to 'engines/hopkins/sound.cpp')
-rw-r--r--engines/hopkins/sound.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp
index b429eb863a..6660233740 100644
--- a/engines/hopkins/sound.cpp
+++ b/engines/hopkins/sound.cpp
@@ -273,7 +273,10 @@ void SoundManager::playAnimSound(int animFrame) {
playSample(1);
break;
case 75:
- playSample(2);
+ // This removes the sound of the gun played while the guard is being shot, as this part of the scene has been
+ // removed in the Polish version of the game
+ if (_vm->getLanguage() != Common::PL_POL)
+ playSample(2);
break;
case 95:
// This fixes an original bug in the Polish version of the game, which was literally butchered for some reason