From 2048fe68d233cfff8523b1b2ee818088cb0fc939 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 14 Oct 2014 21:49:14 -0400 Subject: MADS: Fix clearing on-screen messages when the cutscene animation changes --- engines/mads/nebular/menu_nebular.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/mads/nebular/menu_nebular.cpp') diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp index 64c91d5f1b..6d014191e9 100644 --- a/engines/mads/nebular/menu_nebular.cpp +++ b/engines/mads/nebular/menu_nebular.cpp @@ -889,6 +889,9 @@ void AnimationView::loadNextResource() { if (resEntry._bgFlag) palette.resetGamePalette(1, 8); + // Free any previous messages + scene._kernelMessages.reset(); + // Load the new animation delete _currentAnimation; _currentAnimation = Animation::init(_vm, &scene); -- cgit v1.2.3