mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Added missing destructor and sounds to barrel animation sequence
svn-id: r29531
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user