aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/scene.cpp3
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();
}