diff options
author | Matthew Hoops | 2010-09-01 23:39:25 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-09-01 23:39:25 +0000 |
commit | 1475f756539e81182cb9aaa8188ddb354ea7769f (patch) | |
tree | 1c378a273e740bf73de6da223a8a17d955133546 /engines/mohawk/riven_scripts.cpp | |
parent | a053ef7cd18400058af9ec39e53481ba88455b96 (diff) | |
download | scummvm-rg350-1475f756539e81182cb9aaa8188ddb354ea7769f.tar.gz scummvm-rg350-1475f756539e81182cb9aaa8188ddb354ea7769f.tar.bz2 scummvm-rg350-1475f756539e81182cb9aaa8188ddb354ea7769f.zip |
MOHAWK: Update videos when the delay opcode is called
The fixes a couple scripts which decide to delay through a background video turning into a virtual blocking video.
svn-id: r52488
Diffstat (limited to 'engines/mohawk/riven_scripts.cpp')
-rw-r--r-- | engines/mohawk/riven_scripts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp index 17ff0716c5..2b91dce35a 100644 --- a/engines/mohawk/riven_scripts.cpp +++ b/engines/mohawk/riven_scripts.cpp @@ -398,7 +398,7 @@ void RivenScript::changeCursor(uint16 op, uint16 argc, uint16 *argv) { void RivenScript::delay(uint16 op, uint16 argc, uint16 *argv) { debug(2, "Delay %dms", argv[0]); if (argv[0] > 0) - _vm->_system->delayMillis(argv[0]); + _vm->delayAndUpdate(argv[0]); } // Command 17: call external command |