aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/script.cpp')
-rw-r--r--engines/draci/script.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp
index 1bb833da22..f47cda4567 100644
--- a/engines/draci/script.cpp
+++ b/engines/draci/script.cpp
@@ -389,6 +389,10 @@ void Script::load(Common::Queue<int> &params) {
}
}
+ // We don't test here whether an animation is loaded in the
+ // AnimationManager while not being registered in the object's array of
+ // animations. This cannot legally happen and an assertion will be
+ // thrown by loadAnimation().
loadObjectAnimation(obj, animID);
}