diff options
author | Torbjörn Andersson | 2009-03-15 22:52:40 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-03-15 22:52:40 +0000 |
commit | baca0728447971eee804fef3eb116c6f80346085 (patch) | |
tree | cdc996ba19ffc34573aa80cd4e9b627f40ea45ff | |
parent | 4d84ae9f2055e5c091f4fe00f1b436b572cecace (diff) | |
download | scummvm-rg350-baca0728447971eee804fef3eb116c6f80346085.tar.gz scummvm-rg350-baca0728447971eee804fef3eb116c6f80346085.tar.bz2 scummvm-rg350-baca0728447971eee804fef3eb116c6f80346085.zip |
Call updateScreen() from the delay() function, like we do in so many other
engines, to ensure smooth mouse movement.
svn-id: r39433
-rw-r--r-- | engines/sky/sky.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp index 956b2f5fa7..bc4f2be19d 100644 --- a/engines/sky/sky.cpp +++ b/engines/sky/sky.cpp @@ -423,6 +423,8 @@ void SkyEngine::delay(int32 amount) { } } + _system->updateScreen(); + if (amount > 0) _system->delayMillis((amount > 10) ? 10 : amount); |