aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/_mouse.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-08-20 11:04:32 +0000
committerJonathan Gray2003-08-20 11:04:32 +0000
commit52f3fa76dc8503109a3ae1e2ace222d52a65d566 (patch)
tree1d1116293d80f26dfed243a4a9e017b7de85d4a1 /sword2/driver/_mouse.cpp
parente135f8a9b9376ba2c4b250277d6e83ad708f44dd (diff)
downloadscummvm-rg350-52f3fa76dc8503109a3ae1e2ace222d52a65d566.tar.gz
scummvm-rg350-52f3fa76dc8503109a3ae1e2ace222d52a65d566.tar.bz2
scummvm-rg350-52f3fa76dc8503109a3ae1e2ace222d52a65d566.zip
correction from olki that fixes mouse y offset being too high
svn-id: r9790
Diffstat (limited to 'sword2/driver/_mouse.cpp')
-rw-r--r--sword2/driver/_mouse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/_mouse.cpp b/sword2/driver/_mouse.cpp
index 5ab8da22b9..107922ecf9 100644
--- a/sword2/driver/_mouse.cpp
+++ b/sword2/driver/_mouse.cpp
@@ -237,7 +237,7 @@ int32 DrawMouse(void) {
if (mouseAnim) {
memset(_mouseData, 0, sizeof(_mouseData));
DecompressMouse(_mouseData, mouseSprite, mouseAnim->mousew * mouseAnim->mouseh);
- g_sword2->_system->set_mouse_cursor(_mouseData, mouseAnim->mousew, mouseAnim->mouseh, mouseAnim->xHotSpot, mouseAnim->yHotSpot);
+ g_sword2->_system->set_mouse_cursor(_mouseData, mouseAnim->mousew, mouseAnim->mouseh, mouseAnim->xHotSpot, mouseAnim->yHotSpot - MENUDEEP);
}
return RD_OK;
}