aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-09 17:49:39 +0200
committerBastien Bouclet2017-07-22 20:38:56 +0200
commit3dd4da0c37e5c853e837b5b4af3ebff1536432f8 (patch)
treef29cb4f0198f24259feb610e3969856cc9d8eb8e
parent49fa0bdd689514fda992bffb39e06ccd37df85c4 (diff)
downloadscummvm-rg350-3dd4da0c37e5c853e837b5b4af3ebff1536432f8.tar.gz
scummvm-rg350-3dd4da0c37e5c853e837b5b4af3ebff1536432f8.tar.bz2
scummvm-rg350-3dd4da0c37e5c853e837b5b4af3ebff1536432f8.zip
MOHAWK: Myst: Change the delay opcode to use the main loop
-rw-r--r--engines/mohawk/myst_scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp
index 34806506c4..ed9237585f 100644
--- a/engines/mohawk/myst_scripts.cpp
+++ b/engines/mohawk/myst_scripts.cpp
@@ -831,7 +831,7 @@ void MystScriptParser::o_delay(uint16 op, uint16 var, uint16 argc, uint16 *argv)
debugC(kDebugScript, "\tTime: %d", time);
- _vm->_system->delayMillis(time);
+ _vm->wait(time);
}
void MystScriptParser::o_changeStack(uint16 op, uint16 var, uint16 argc, uint16 *argv) {