aboutsummaryrefslogtreecommitdiff
path: root/queen/talk.cpp
diff options
context:
space:
mode:
authorJoost Peters2004-02-21 20:50:56 +0000
committerJoost Peters2004-02-21 20:50:56 +0000
commit6e50033d07011d8fcae941c5c10530081d522db0 (patch)
treedc54f1db5504e24bd9794b41eb12009d854faeb8 /queen/talk.cpp
parent0301ccc8a88283d02b65749fd21f90e71582f14d (diff)
downloadscummvm-rg350-6e50033d07011d8fcae941c5c10530081d522db0.tar.gz
scummvm-rg350-6e50033d07011d8fcae941c5c10530081d522db0.tar.bz2
scummvm-rg350-6e50033d07011d8fcae941c5c10530081d522db0.zip
I am an idiot.
Better fix for bug #899881 (Sounds played when sound turned off) - I forgot I added the isSpeech flag a while back. :) svn-id: r12976
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r--queen/talk.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp
index c0d7fd02e8..1d0223f19b 100644
--- a/queen/talk.cpp
+++ b/queen/talk.cpp
@@ -773,8 +773,7 @@ void Talk::stringAnimation(const SpeechParameters *parameters, int startFrame, i
if (frame > 500) {
frame -= 500;
- if (_vm->sound()->sfxOn())
- _vm->sound()->playSfx(_vm->logic()->currentRoomSfx(), false);
+ _vm->sound()->playSfx(_vm->logic()->currentRoomSfx(), false);
}
if (torso) {