From b25b3981527ff343c4959984ab3d630c6b8b4528 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') diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp index 64f1b82bf1..591d745f7a 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