aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/sound.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-28 20:26:15 +0200
committerFilippos Karapetis2011-12-28 20:26:15 +0200
commit6a5c75a439ce2e909cd7088380ae9ca8d005b6c3 (patch)
tree8c7d40be24945c15faf7dc9b0c6842d6d93369d9 /engines/dreamweb/sound.cpp
parent972ebc0c757ac76cd4fa7b742de0bbd5f9058a7a (diff)
downloadscummvm-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.cpp2
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;