diff options
author | Joost Peters | 2004-02-21 20:20:35 +0000 |
---|---|---|
committer | Joost Peters | 2004-02-21 20:20:35 +0000 |
commit | 0301ccc8a88283d02b65749fd21f90e71582f14d (patch) | |
tree | 0e60d852713c5279049abae14bcb48cc18d03302 /queen/talk.cpp | |
parent | 1d7eafe675e08835a0f1128996b1f8a72561825d (diff) | |
download | scummvm-rg350-0301ccc8a88283d02b65749fd21f90e71582f14d.tar.gz scummvm-rg350-0301ccc8a88283d02b65749fd21f90e71582f14d.tar.bz2 scummvm-rg350-0301ccc8a88283d02b65749fd21f90e71582f14d.zip |
Fix for bug #899881 (Sounds played when sound turned off)
svn-id: r12975
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 1d0223f19b..c0d7fd02e8 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -773,7 +773,8 @@ void Talk::stringAnimation(const SpeechParameters *parameters, int startFrame, i if (frame > 500) { frame -= 500; - _vm->sound()->playSfx(_vm->logic()->currentRoomSfx(), false); + if (_vm->sound()->sfxOn()) + _vm->sound()->playSfx(_vm->logic()->currentRoomSfx(), false); } if (torso) { |