aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-08-13 01:35:52 +0000
committerEugene Sandulenko2005-08-13 01:35:52 +0000
commit45047c5cdbab69d2e055738ca4b2bdab9e963c59 (patch)
treefafe419618bba30442ac1182c9ab63daf6f65abd /saga/scene.cpp
parent8242e3e2bce9b6570854826af2b1d491cad8c3e4 (diff)
downloadscummvm-rg350-45047c5cdbab69d2e055738ca4b2bdab9e963c59.tar.gz
scummvm-rg350-45047c5cdbab69d2e055738ca4b2bdab9e963c59.tar.bz2
scummvm-rg350-45047c5cdbab69d2e055738ca4b2bdab9e963c59.zip
Fix bug #1257542 "ITE: Sounds do not stop after quitting scene". Though
There is a big problem in sound code. It is written with only one SFX and only one Voice playing at the same time in mind which is not the case. This should be rewritten so there are more than 2 sound handles. svn-id: r18674
Diffstat (limited to 'saga/scene.cpp')
-rw-r--r--saga/scene.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp
index 6369aa988c..951e3896b2 100644
--- a/saga/scene.cpp
+++ b/saga/scene.cpp
@@ -812,8 +812,7 @@ void Scene::loadScene(LoadSceneParams *loadSceneParams) {
_vm->_interface->setMode(kPanelMain);
}
- _vm->_sound->stopVoice();
- _vm->_sound->stopSound();
+ _vm->_sound->stopAll();
if (_sceneDescription.musicResourceId >= 0) {
event.type = kEvTOneshot;