Added missing destructor and sounds to barrel animation sequence

svn-id: r29531
This commit is contained in:
Paul Gilbert
2007-11-17 08:58:31 +00:00
parent 4ed5fc5acd
commit eaee457431
+8
View File
@@ -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();
}