From 7cbd3782f198ddc48eb00cf021abacf6a34f0afe Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 27 Aug 2018 23:45:04 +0300 Subject: SCI: Load the correct sound effects in Hoyle 4 Fixes bug #10412 --- engines/sci/sound/soundcmd.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'engines/sci/sound') diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index 7012746c80..d592dee3ad 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -100,12 +100,7 @@ void SoundCommandParser::initSoundResource(MusicEntry *newSound) { // a relevant audio resource, play it, otherwise switch to synthesized // effects. If the resource exists, play it using map 65535 (sound // effects map) - bool checkAudioResource = getSciVersion() >= SCI_VERSION_1_1; - // Hoyle 4 has garbled audio resources in place of the sound resources. - if (g_sci->getGameId() == GID_HOYLE4) - checkAudioResource = false; - - if (checkAudioResource && _resMan->testResource(ResourceId(kResourceTypeAudio, newSound->resourceId))) { + if (getSciVersion() >= SCI_VERSION_1_1 && _resMan->testResource(ResourceId(kResourceTypeAudio, newSound->resourceId))) { // Found a relevant audio resource, create an audio stream if there is // no associated sound resource, or if both resources exist and the // user wants the digital version. -- cgit v1.2.3