diff options
author | Filippos Karapetis | 2011-12-28 20:26:15 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-28 20:26:15 +0200 |
commit | 6a5c75a439ce2e909cd7088380ae9ca8d005b6c3 (patch) | |
tree | 8c7d40be24945c15faf7dc9b0c6842d6d93369d9 /engines/dreamweb/sound.cpp | |
parent | 972ebc0c757ac76cd4fa7b742de0bbd5f9058a7a (diff) | |
download | scummvm-rg350-6a5c75a439ce2e909cd7088380ae9ca8d005b6c3.tar.gz scummvm-rg350-6a5c75a439ce2e909cd7088380ae9ca8d005b6c3.tar.bz2 scummvm-rg350-6a5c75a439ce2e909cd7088380ae9ca8d005b6c3.zip |
DREAMWEB: Changed hasSpeech() to also take account of the audio settings
This fixes an assert in the madman sequence
Diffstat (limited to 'engines/dreamweb/sound.cpp')
-rw-r--r-- | engines/dreamweb/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/sound.cpp b/engines/dreamweb/sound.cpp index 8e125cc0e1..b79be28cea 100644 --- a/engines/dreamweb/sound.cpp +++ b/engines/dreamweb/sound.cpp @@ -173,7 +173,7 @@ void DreamWebEngine::stopSound(uint8 channel) { } bool DreamWebEngine::loadSpeech(const Common::String &filename) { - if (ConfMan.getBool("speech_mute")) + if (!hasSpeech()) return false; Common::File file; |