From 94f83598968de6e7fb2b16e7eece19d6336552af Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sat, 9 Aug 2014 23:11:02 +0200 Subject: COMPOSER: Make sure V1 scripts are run before redrawing. --- engines/composer/composer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engines/composer/composer.cpp b/engines/composer/composer.cpp index 471a29030b..f070338978 100644 --- a/engines/composer/composer.cpp +++ b/engines/composer/composer.cpp @@ -135,7 +135,7 @@ Common::Error ComposerEngine::run() { else loadLibrary(_pendingPageChanges[i]._pageId); - lastDrawTime = _system->getMillis(); + lastDrawTime = 0; } _pendingPageChanges.clear(); @@ -168,9 +168,10 @@ Common::Error ComposerEngine::run() { else lastDrawTime += frameTime; + tickOldScripts(); + redraw(); - tickOldScripts(); processAnimFrame(); } else if (_needsUpdate) { redraw(); -- cgit v1.2.3