aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-04-16 22:59:07 -0400
committerPaul Gilbert2014-04-16 22:59:07 -0400
commit45084a4702bbdbc4a560470fa1dc12dba3549a61 (patch)
tree8217510d1761d0e53ccc5b873bb8e43e1a692c80 /engines/mads/scene.cpp
parent73a505543829c5da58f7ac31f3a9ab87f0f8b93a (diff)
downloadscummvm-rg350-45084a4702bbdbc4a560470fa1dc12dba3549a61.tar.gz
scummvm-rg350-45084a4702bbdbc4a560470fa1dc12dba3549a61.tar.bz2
scummvm-rg350-45084a4702bbdbc4a560470fa1dc12dba3549a61.zip
MADS: Fix scene animation data being unloaded prematurely
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r--engines/mads/scene.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index e2892fbbd1..99151c1267 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -398,6 +398,7 @@ void Scene::doFrame() {
if (_freeAnimationFlag && _activeAnimation) {
_activeAnimation->free();
+ _freeAnimationFlag = false;
_activeAnimation = nullptr;
}
}