aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2014-08-09 23:11:02 +0200
committerAlyssa Milburn2014-08-09 23:11:02 +0200
commit94f83598968de6e7fb2b16e7eece19d6336552af (patch)
treef1f62a81751c64af1490e9e5222a655f528ac313
parenta11b52ec11790c22e694c08bf110eba889dda69c (diff)
downloadscummvm-rg350-94f83598968de6e7fb2b16e7eece19d6336552af.tar.gz
scummvm-rg350-94f83598968de6e7fb2b16e7eece19d6336552af.tar.bz2
scummvm-rg350-94f83598968de6e7fb2b16e7eece19d6336552af.zip
COMPOSER: Make sure V1 scripts are run before redrawing.
-rw-r--r--engines/composer/composer.cpp5
1 files 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();