aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/game/action.cpp')
-rw-r--r--engines/lastexpress/game/action.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/game/action.cpp b/engines/lastexpress/game/action.cpp
index f623ed032e..d0ef92770e 100644
--- a/engines/lastexpress/game/action.cpp
+++ b/engines/lastexpress/game/action.cpp
@@ -1944,7 +1944,7 @@ void Action::playAnimation(EventIndex index, bool debugMode) const {
if (getGlobalTimer()) {
if (getSoundQueue()->isBuffered("TIMER")) {
- getSoundQueue()->processEntry("TIMER");
+ getSoundQueue()->fade("TIMER");
setGlobalTimer(105);
}
}
@@ -1962,7 +1962,7 @@ void Action::playAnimation(EventIndex index, bool debugMode) const {
animation.play();
if (getSoundQueue()->isBuffered("TIMER"))
- getSoundQueue()->removeFromQueue("TIMER");
+ getSoundQueue()->stop("TIMER");
}
// Show cursor