aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.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/logic.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/logic.cpp')
-rw-r--r--queen/logic.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp
index 4f6edb14b3..8181abe32e 100644
--- a/queen/logic.cpp
+++ b/queen/logic.cpp
@@ -1723,8 +1723,7 @@ void Logic::asmMakeLightningHitPlane() {
lightningBob->y = 0;
// 23/2/95 - Play lightning SFX
- if (_vm->sound()->sfxOn())
- _vm->sound()->playSfx(currentRoomSfx(), false);
+ _vm->sound()->playSfx(currentRoomSfx(), false);
_vm->bankMan()->unpack(18, lightningBob->frameNum, 15);
_vm->bankMan()->unpack(4, planeBob ->frameNum, 15);