aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-02 15:24:26 +0000
committerTorbjörn Andersson2006-05-02 15:24:26 +0000
commit7bc4944a3bf20598b2663f3ffa5c545da1fc5f65 (patch)
tree7ac37dff75ffac3ac8b33b46c0a2f9fb53f40427 /engines
parent4c8151f20a8e15f5e09ca08ace0361736c03552e (diff)
downloadscummvm-rg350-7bc4944a3bf20598b2663f3ffa5c545da1fc5f65.tar.gz
scummvm-rg350-7bc4944a3bf20598b2663f3ffa5c545da1fc5f65.tar.bz2
scummvm-rg350-7bc4944a3bf20598b2663f3ffa5c545da1fc5f65.zip
Fixed FF mouse cursors being drawn a bit to the left of the hotspot. FF seems
to have this strange notion of multiplying the X coordinate by two, so when it was using 38 to manipulate it, it really meant 19. I think. Now we just need to simplify this to make the backend draw the cursor instead. svn-id: r22278
Diffstat (limited to 'engines')
-rw-r--r--engines/simon/cursor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/simon/cursor.cpp b/engines/simon/cursor.cpp
index 2dd680a765..cc18971db8 100644
--- a/engines/simon/cursor.cpp
+++ b/engines/simon/cursor.cpp
@@ -423,10 +423,10 @@ void SimonEngine::drawMousePointer_FF() {
else
dst += (((_mouseY - 19) * (pitch / 16)) & 0xffff) * 16;
- if (_mouseX < 38)
- _mouseCountX -= 38 - _mouseX;
+ if (_mouseX < 19)
+ _mouseCountX -= 19 - _mouseX;
else
- dst += _mouseX - 38;
+ dst += _mouseX - 19;
if (_mouseCountY == 40) {
_mouseCountY = 499 - _mouseY;