diff options
| author | Max Horn | 2003-08-28 19:20:30 +0000 |
|---|---|---|
| committer | Max Horn | 2003-08-28 19:20:30 +0000 |
| commit | 898bbc85d0aa856c2f80a18acd3163cff59ebe63 (patch) | |
| tree | 54db7a9aa7c48979f0c185f4d19aaa1ad899e633 | |
| parent | 876fe0ac8aa0d94274af02ce38eea9ea3e058d90 (diff) | |
| download | scummvm-rg350-898bbc85d0aa856c2f80a18acd3163cff59ebe63.tar.gz scummvm-rg350-898bbc85d0aa856c2f80a18acd3163cff59ebe63.tar.bz2 scummvm-rg350-898bbc85d0aa856c2f80a18acd3163cff59ebe63.zip | |
double cursor animation speed (see bug #757191)
svn-id: r9895
| -rw-r--r-- | gui/newgui.cpp | 2 | ||||
| -rw-r--r-- | scumm/gfx.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index d44e9b6836..94d88e25fd 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -42,7 +42,7 @@ enum { kDoubleClickDelay = 500, // milliseconds - kCursorAnimateDelay = 500, + kCursorAnimateDelay = 250, kKeyRepeatInitialDelay = 400, kKeyRepeatSustainDelay = 100 }; diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index b2cb92d8a9..fecb9ca257 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -3491,8 +3491,8 @@ void Scumm::updateCursor() { void Scumm::animateCursor() { if (_cursor.animate) { - if (!(_cursor.animateIndex & 0x3)) { - decompressDefaultCursor((_cursor.animateIndex >> 2) & 3); + if (!(_cursor.animateIndex & 0x1)) { + decompressDefaultCursor((_cursor.animateIndex >> 1) & 3); } _cursor.animateIndex++; } |
