[Scummvm-cvs-logs] scummvm master -> 2048fe68d233cfff8523b1b2ee818088cb0fc939

dreammaster dreammaster at scummvm.org
Wed Oct 15 03:49:59 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2048fe68d2 MADS: Fix clearing on-screen messages when the cutscene animation changes


Commit: 2048fe68d233cfff8523b1b2ee818088cb0fc939
    https://github.com/scummvm/scummvm/commit/2048fe68d233cfff8523b1b2ee818088cb0fc939
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-10-14T21:49:14-04:00

Commit Message:
MADS: Fix clearing on-screen messages when the cutscene animation changes

Changed paths:
    engines/mads/nebular/menu_nebular.cpp



diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp
index 64c91d5..6d01419 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);






More information about the Scummvm-git-logs mailing list