From 0868fd24d27b8398247527e334e0f8849726092a Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Thu, 15 Oct 2009 07:50:10 +0000 Subject: [PATCH] SCI: kAnimate now uses gfxop_sleep for sleeping, mouse cursor is more fluid that way svn-id: r45105 --- engines/sci/engine/kgraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 50d7cb69838..180ca9d367e 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -942,7 +942,7 @@ reg_t kAnimate(EngineState *s, int argc, reg_t *argv) { uint32 duration = curTime - s->_lastAnimateTime; if (duration < 50) { - g_system->delayMillis(50-duration); + gfxop_sleep(s->gfx_state, 50-duration); } s->_lastAnimateTime = curTime;