aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-14 21:49:14 -0400
committerPaul Gilbert2014-10-14 21:49:14 -0400
commit2048fe68d233cfff8523b1b2ee818088cb0fc939 (patch)
tree60df529596d564abdfbedf95c6cf9adc2e20faf8 /engines
parentea9599b763e0e8aef55282d621828ebfc7b1a9f6 (diff)
downloadscummvm-rg350-2048fe68d233cfff8523b1b2ee818088cb0fc939.tar.gz
scummvm-rg350-2048fe68d233cfff8523b1b2ee818088cb0fc939.tar.bz2
scummvm-rg350-2048fe68d233cfff8523b1b2ee818088cb0fc939.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 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);