diff options
author | Torbjörn Andersson | 2003-08-20 11:41:43 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-08-20 11:41:43 +0000 |
commit | 7651aa2bb7fac342a6d9aef2c37c25bfa1e9e975 (patch) | |
tree | a403062117f3cd1ed37722c3e2820899be43bfe4 /sword2/driver/_mouse.cpp | |
parent | 264b2d87675d2495ae5e169f8bdbfc23fd5603c6 (diff) | |
download | scummvm-rg350-7651aa2bb7fac342a6d9aef2c37c25bfa1e9e975.tar.gz scummvm-rg350-7651aa2bb7fac342a6d9aef2c37c25bfa1e9e975.tar.bz2 scummvm-rg350-7651aa2bb7fac342a6d9aef2c37c25bfa1e9e975.zip |
Applied a different fix for the mouse offset problem. As far as I can tell,
the old way would have made it impossible to access the (not yet
implemented) menu icons at the top of the window. I hope this one works...
svn-id: r9793
Diffstat (limited to 'sword2/driver/_mouse.cpp')
-rw-r--r-- | sword2/driver/_mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/_mouse.cpp b/sword2/driver/_mouse.cpp index c214fac44c..1d3b77079f 100644 --- a/sword2/driver/_mouse.cpp +++ b/sword2/driver/_mouse.cpp @@ -240,7 +240,7 @@ int32 DrawMouse(void) { if (mouseAnim) { DecompressMouse(_mouseData, mouseSprite, mouseAnim->mousew * mouseAnim->mouseh); - g_sword2->_system->set_mouse_cursor(_mouseData, mouseAnim->mousew, mouseAnim->mouseh, mouseAnim->xHotSpot, mouseAnim->yHotSpot - MENUDEEP); + g_sword2->_system->set_mouse_cursor(_mouseData, mouseAnim->mousew, mouseAnim->mouseh, mouseAnim->xHotSpot, mouseAnim->yHotSpot); } return RD_OK; } |