aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2002-04-15 17:45:52 +0000
committerLudvig Strigeus2002-04-15 17:45:52 +0000
commitd263f7eb733646865d8f69197720634ae01b8039 (patch)
tree9aef3feb47bf899b354717e55d9d66a04a23c01c /gfx.cpp
parent4c95478ccb9b7d4dd6ad3aa6a1af432907fefefa (diff)
downloadscummvm-rg350-d263f7eb733646865d8f69197720634ae01b8039.tar.gz
scummvm-rg350-d263f7eb733646865d8f69197720634ae01b8039.tar.bz2
scummvm-rg350-d263f7eb733646865d8f69197720634ae01b8039.zip
removed mouse cursor flicker
svn-id: r3945
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx.cpp b/gfx.cpp
index 708e9c8609..c50fb1713a 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -2419,12 +2419,12 @@ void Scumm::updateCursor() {
void Scumm::animateCursor() {
if (_cursorAnimate) {
- if (!(_cursorAnimateIndex & 0x3))
+ if (!(_cursorAnimateIndex & 0x3)) {
decompressDefaultCursor((_cursorAnimateIndex >> 2) & 3);
+ }
_cursorAnimateIndex++;
}
- updateCursor();
}
void Scumm::useBompCursor(byte *im, int width, int height)