aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-10-29 05:14:13 +0100
committerStrangerke2014-10-29 16:46:33 +0100
commitc2951e2594c320c244898237d434e7d83a027662 (patch)
tree61e16035fe7bc56f12a094db2e73c55e7d16d071
parent8f368145baaf1a09efafcc847647e192b4031a96 (diff)
downloadscummvm-rg350-c2951e2594c320c244898237d434e7d83a027662.tar.gz
scummvm-rg350-c2951e2594c320c244898237d434e7d83a027662.tar.bz2
scummvm-rg350-c2951e2594c320c244898237d434e7d83a027662.zip
HOPKINS: Add specific code to handle the butchered Polish version with sync sound
-rw-r--r--engines/hopkins/sound.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp
index d86fc449ee..6b3149e247 100644
--- a/engines/hopkins/sound.cpp
+++ b/engines/hopkins/sound.cpp
@@ -275,11 +275,23 @@ void SoundManager::playAnimSound(int animFrame) {
case 75:
playSample(2);
break;
+ case 95:
+ // This fixes an original bug in the Polish version of the bug, which was literally butchered for some reason
+ if (_vm->getLanguage() == Common::PL_POL)
+ playSample(3);
+ break;
case 109:
- playSample(3);
+ if (_vm->getLanguage() != Common::PL_POL)
+ playSample(3);
+ break;
+ case 108:
+ // This fixes an original bug in the Polish version of the bug, which was literally butchered for some reason
+ if (_vm->getLanguage() == Common::PL_POL)
+ playSample(4);
break;
case 122:
- playSample(4);
+ if (_vm->getLanguage() != Common::PL_POL)
+ playSample(4);
break;
}
} else if (_specialSoundNum == 1 && animFrame == 17)