From 1475f756539e81182cb9aaa8188ddb354ea7769f Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 1 Sep 2010 23:39:25 +0000 Subject: 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 --- engines/mohawk/riven_scripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mohawk/riven_scripts.cpp') 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 -- cgit v1.2.3