aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-15 07:50:10 +0000
committerMartin Kiewitz2009-10-15 07:50:10 +0000
commit0868fd24d27b8398247527e334e0f8849726092a (patch)
tree0d11e5c43f5d90f6a757b390be1469853f038a33 /engines/sci
parent3e7eb5089c242865a3e579024c30566253d0ed41 (diff)
downloadscummvm-rg350-0868fd24d27b8398247527e334e0f8849726092a.tar.gz
scummvm-rg350-0868fd24d27b8398247527e334e0f8849726092a.tar.bz2
scummvm-rg350-0868fd24d27b8398247527e334e0f8849726092a.zip
SCI: kAnimate now uses gfxop_sleep for sleeping, mouse cursor is more fluid that way
svn-id: r45105
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 50d7cb6983..180ca9d367 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;