[Scummvm-cvs-logs] scummvm master -> 8e115a127b762a7676e795637ef499da87e1af13

dreammaster dreammaster at scummvm.org
Fri May 30 12:52:50 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:
8e115a127b MADS: Fix to properly free completed animations


Commit: 8e115a127b762a7676e795637ef499da87e1af13
    https://github.com/scummvm/scummvm/commit/8e115a127b762a7676e795637ef499da87e1af13
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-05-30T06:52:16-04:00

Commit Message:
MADS: Fix to properly free completed animations

Changed paths:
    engines/mads/scene.cpp



diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index e98648f..2afbcef 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -468,6 +468,9 @@ void Scene::doFrame() {
 		_cyclingActive = true;
 	_vm->_game->_fx = kTransitionNone;
 
+	// Handle freeing animation if necessary
+	if (_activeAnimation && _activeAnimation->freeFlag())
+		_freeAnimationFlag = true;
 	if (_freeAnimationFlag)
 		freeAnimation();
 }






More information about the Scummvm-git-logs mailing list