aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-14 21:49:14 -0400
committerFilippos Karapetis2014-10-15 10:00:55 +0300
commitb25b3981527ff343c4959984ab3d630c6b8b4528 (patch)
treee2b43c73bbfe903ef48755ce12ff09f4b84bdc64 /engines
parentd8b1612f1a995120444c8100088682b870c43f28 (diff)
downloadscummvm-rg350-b25b3981527ff343c4959984ab3d630c6b8b4528.tar.gz
scummvm-rg350-b25b3981527ff343c4959984ab3d630c6b8b4528.tar.bz2
scummvm-rg350-b25b3981527ff343c4959984ab3d630c6b8b4528.zip
MADS: Fix clearing on-screen messages when the cutscene animation changes
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/menu_nebular.cpp3
1 files changed, 3 insertions, 0 deletions
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);