aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/object_v1d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/object_v1d.cpp')
-rw-r--r--engines/hugo/object_v1d.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hugo/object_v1d.cpp b/engines/hugo/object_v1d.cpp
index 2ad4134a72..b2801d14c1 100644
--- a/engines/hugo/object_v1d.cpp
+++ b/engines/hugo/object_v1d.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_v1d::updateImages() {
}
}
+ _vm->_scheduler->waitForRefresh();
+
// Cycle any animating objects
for (int i = 0; i < num_objs; i++) {
object_t *obj = &_objects[objindex[i]];