diff options
author | Paul Gilbert | 2014-05-30 06:52:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-30 06:52:16 -0400 |
commit | 8e115a127b762a7676e795637ef499da87e1af13 (patch) | |
tree | 26509d6c5451f504eb5365a038f55b5394d72299 /engines/mads | |
parent | 0a46d67baea121bed0511ce45bfdd8438a43d35d (diff) | |
download | scummvm-rg350-8e115a127b762a7676e795637ef499da87e1af13.tar.gz scummvm-rg350-8e115a127b762a7676e795637ef499da87e1af13.tar.bz2 scummvm-rg350-8e115a127b762a7676e795637ef499da87e1af13.zip |
MADS: Fix to properly free completed animations
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/scene.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index e98648f009..2afbcef2b0 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(); } |