From 2abe6a9126de98d0c78e5d222ae36aa680e0ad9f Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Sat, 5 Jul 2003 03:00:26 +0000 Subject: better mouse hotspot, seems the same as in the original now...only tested on first few scenes & control panel though svn-id: r8758 --- sky/mouse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sky/mouse.cpp') diff --git a/sky/mouse.cpp b/sky/mouse.cpp index 99a81f90d7..ce3d9a5dbe 100644 --- a/sky/mouse.cpp +++ b/sky/mouse.cpp @@ -203,8 +203,8 @@ void SkyMouse::spriteMouse(uint16 frameNum, uint8 mouseX, uint8 mouseY) { _mouseHeight = ((struct dataFileHeader *)mouseData)->s_height; //_system->set_mouse_cursor(_mouseData2, _mouseWidth, _mouseHeight, mouseX, mouseY); - // there's something wrong about the mouse's hotspot. using 0/0 works fine. (but the cursor is still a couple of pixels off) - _system->set_mouse_cursor(_mouseData2, _mouseWidth, _mouseHeight, 0, 0); + // there's something wrong about the mouse's hotspot. using 4/4 seems to work fine. + _system->set_mouse_cursor(_mouseData2, _mouseWidth, _mouseHeight, 4, 4); if (frameNum == MOUSE_BLANK) _system->show_mouse(false); else _system->show_mouse(true); -- cgit v1.2.3