From 7bc4944a3bf20598b2663f3ffa5c545da1fc5f65 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 2 May 2006 15:24:26 +0000 Subject: 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 --- engines/simon/cursor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/simon') 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; -- cgit v1.2.3