diff options
author | Bastien Bouclet | 2017-07-09 17:49:39 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-07-22 20:38:56 +0200 |
commit | 3dd4da0c37e5c853e837b5b4af3ebff1536432f8 (patch) | |
tree | f29cb4f0198f24259feb610e3969856cc9d8eb8e | |
parent | 49fa0bdd689514fda992bffb39e06ccd37df85c4 (diff) | |
download | scummvm-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.cpp | 2 |
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) { |