diff options
author | Joost Peters | 2003-07-05 03:00:26 +0000 |
---|---|---|
committer | Joost Peters | 2003-07-05 03:00:26 +0000 |
commit | 2abe6a9126de98d0c78e5d222ae36aa680e0ad9f (patch) | |
tree | 1e712f74241b707beeca29c53cb954f02a4779f5 /sky/mouse.cpp | |
parent | a476409d816afe79fd5d8b5ade3433af5c4e9829 (diff) | |
download | scummvm-rg350-2abe6a9126de98d0c78e5d222ae36aa680e0ad9f.tar.gz scummvm-rg350-2abe6a9126de98d0c78e5d222ae36aa680e0ad9f.tar.bz2 scummvm-rg350-2abe6a9126de98d0c78e5d222ae36aa680e0ad9f.zip |
better mouse hotspot, seems the same as in the original now...only tested on first few scenes & control panel though
svn-id: r8758
Diffstat (limited to 'sky/mouse.cpp')
-rw-r--r-- | sky/mouse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |