aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2008-05-06 22:18:12 +0000
committerSven Hesse2008-05-06 22:18:12 +0000
commit16abd33aeace5c830b085c32ac570f5ef0b828fc (patch)
tree105630775666ba7ee0d34f8eb34bab3178633d49
parent586046d871806dcee92a48eca585955e937af6f6 (diff)
downloadscummvm-rg350-16abd33aeace5c830b085c32ac570f5ef0b828fc.tar.gz
scummvm-rg350-16abd33aeace5c830b085c32ac570f5ef0b828fc.tar.bz2
scummvm-rg350-16abd33aeace5c830b085c32ac570f5ef0b828fc.zip
Mouse hotspots are now properly evaluated when the mouse is set to a position via the scripts.
svn-id: r31911
-rw-r--r--engines/gob/draw_v2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp
index baca917877..88d30b8e8a 100644
--- a/engines/gob/draw_v2.cpp
+++ b/engines/gob/draw_v2.cpp
@@ -178,13 +178,13 @@ void Draw_v2::animateCursor(int16 cursor) {
_vm->_util->delay(5);
}
}
- } else
+ } else {
blitCursor();
+ _cursorX = newX;
+ _cursorY = newY;
+ }
_showCursor &= ~1;
-
- _cursorX = newX;
- _cursorY = newY;
}
void Draw_v2::printTotText(int16 id) {