diff options
Diffstat (limited to 'engines/hugo/object_v2d.cpp')
-rw-r--r-- | engines/hugo/object_v2d.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hugo/object_v2d.cpp b/engines/hugo/object_v2d.cpp index 11146de0b1..3a0e367261 100644 --- a/engines/hugo/object_v2d.cpp +++ b/engines/hugo/object_v2d.cpp @@ -42,6 +42,7 @@ #include "hugo/route.h" #include "hugo/util.h" #include "hugo/parser.h" +#include "hugo/schedule.h" namespace Hugo { @@ -104,6 +105,8 @@ void ObjectHandler_v2d::updateImages() { } } + _vm->_scheduler->waitForRefresh(); + // Cycle any animating objects for (int i = 0; i < num_objs; i++) { object_t *obj = &_objects[objindex[i]]; |