From c2951e2594c320c244898237d434e7d83a027662 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 29 Oct 2014 05:14:13 +0100 Subject: HOPKINS: Add specific code to handle the butchered Polish version with sync sound --- engines/hopkins/sound.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'engines/hopkins') 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) -- cgit v1.2.3