aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/game/logic.cpp')
-rw-r--r--engines/lastexpress/game/logic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lastexpress/game/logic.cpp b/engines/lastexpress/game/logic.cpp
index 7ba2b0ff85..9aad0308eb 100644
--- a/engines/lastexpress/game/logic.cpp
+++ b/engines/lastexpress/game/logic.cpp
@@ -420,7 +420,7 @@ void Logic::resetState() {
*/
void Logic::gameOver(SavegameType type, uint32 value, SceneIndex sceneIndex, bool showScene) const {
- getSoundQueue()->processEntries();
+ getSoundQueue()->endAmbient();
getEntities()->reset();
getFlags()->isGameRunning = false;
getSavePoints()->reset();
@@ -428,7 +428,7 @@ void Logic::gameOver(SavegameType type, uint32 value, SceneIndex sceneIndex, boo
if (showScene) {
- getSoundQueue()->processEntry(kSoundType11);
+ getSoundQueue()->fade(kSoundTagIntro);
if (sceneIndex && !getFlags()->mouseRightClick) {
getScenes()->loadScene(sceneIndex);
@@ -447,7 +447,7 @@ void Logic::gameOver(SavegameType type, uint32 value, SceneIndex sceneIndex, boo
}
void Logic::switchChapter() const {
- getSoundQueue()->clearStatus();
+ getSoundQueue()->stopAll();
switch(getState()->progress.chapter) {
default:
@@ -487,7 +487,7 @@ void Logic::switchChapter() const {
}
void Logic::playFinalSequence() const {
- getSoundQueue()->processEntries();
+ getSoundQueue()->endAmbient();
_action->playAnimation(kEventFinalSequence);
showCredits();