aboutsummaryrefslogtreecommitdiff
path: root/queen/graphics.cpp
diff options
context:
space:
mode:
authorJoost Peters2004-01-25 22:10:23 +0000
committerJoost Peters2004-01-25 22:10:23 +0000
commit0d974b9daa4df60a87255cc6f477c9696034c24f (patch)
tree762999f9d9b24e66d075660937a97276643b870c /queen/graphics.cpp
parentb106eb1e43e8f5a3c3fd78e547b2f7945969375b (diff)
downloadscummvm-rg350-0d974b9daa4df60a87255cc6f477c9696034c24f.tar.gz
scummvm-rg350-0d974b9daa4df60a87255cc6f477c9696034c24f.tar.bz2
scummvm-rg350-0d974b9daa4df60a87255cc6f477c9696034c24f.zip
Seperate SFX and Speech.
this fixes the 'pauses' in the car-chase scene and other scene which use speech and sfx simultaneously. svn-id: r12599
Diffstat (limited to 'queen/graphics.cpp')
-rw-r--r--queen/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp
index 24a0cf571e..44bf4add97 100644
--- a/queen/graphics.cpp
+++ b/queen/graphics.cpp
@@ -328,7 +328,7 @@ void Graphics::sortBobs() {
if (pbs->animating) {
pbs->animOneStep();
if (pbs->frameNum > 500) { // SFX frame
- _vm->sound()->playSfx(_vm->logic()->currentRoomSfx());
+ _vm->sound()->playSfx(_vm->logic()->currentRoomSfx(), false);
pbs->frameNum -= 500;
}
}
@@ -1087,7 +1087,7 @@ void BamScene::playSfx() {
// this problem since their playSfx() function returns immediately
// if a sound is already being played.
if (_lastSoundIndex == 0 || _index - _lastSoundIndex >= SFX_SKIP) {
- _vm->sound()->playSfx(_vm->logic()->currentRoomSfx());
+ _vm->sound()->playSfx(_vm->logic()->currentRoomSfx(), false);
_lastSoundIndex = _index;
}
}