aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2007-11-17 08:58:31 +0000
committerPaul Gilbert2007-11-17 08:58:31 +0000
commiteaee457431fb2b3d78eb4daadef3f8e40cdcf613 (patch)
treef210225dc68017beb1756c72cefd0725ef208334 /engines
parent4ed5fc5acdbc97757c8264196da973abd240980e (diff)
downloadscummvm-rg350-eaee457431fb2b3d78eb4daadef3f8e40cdcf613.tar.gz
scummvm-rg350-eaee457431fb2b3d78eb4daadef3f8e40cdcf613.tar.bz2
scummvm-rg350-eaee457431fb2b3d78eb4daadef3f8e40cdcf613.zip
Added missing destructor and sounds to barrel animation sequence
svn-id: r29531
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/game.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp
index a871a3e831..2c25a016e9 100644
--- a/engines/lure/game.cpp
+++ b/engines/lure/game.cpp
@@ -415,7 +415,15 @@ void Game::displayBarrelAnimation() {
AnimationSequence *anim = new AnimationSequence(screen, system,
BARREL_ANIM_ID, palette, false);
mouse.cursorOff();
+
+ Sound.killSounds();
+ Sound.musicInterface_Play(0x3B, 0);
+
anim->show();
+
+ delete anim;
+
+ Sound.killSounds();
mouse.cursorOn();
}