aboutsummaryrefslogtreecommitdiff
path: root/engines/access/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-24 21:42:02 -0400
committerPaul Gilbert2014-08-24 21:42:02 -0400
commitb7ea1133b43f3640f44dc3e5f3a3136f72729770 (patch)
treefa97e49f629870a3fbb942ffc28bfd3a69974a5d /engines/access/events.cpp
parentd97cc677e106c39af278e6175d139d8a8ab0cc3e (diff)
downloadscummvm-rg350-b7ea1133b43f3640f44dc3e5f3a3136f72729770.tar.gz
scummvm-rg350-b7ea1133b43f3640f44dc3e5f3a3136f72729770.tar.bz2
scummvm-rg350-b7ea1133b43f3640f44dc3e5f3a3136f72729770.zip
ACCESS: Set hotspot for inventory item cursors to be their center
Diffstat (limited to 'engines/access/events.cpp')
-rw-r--r--engines/access/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/events.cpp b/engines/access/events.cpp
index 15c8f8cff0..7366905b0c 100644
--- a/engines/access/events.cpp
+++ b/engines/access/events.cpp
@@ -56,7 +56,7 @@ void EventsManager::setCursor(CursorType cursorId) {
if (cursorId == CURSOR_INVENTORY) {
// Set the cursor
CursorMan.replaceCursor(_invCursor.getPixels(), _invCursor.w, _invCursor.h,
- 0, 0, 0);
+ _invCursor.w / 2, _invCursor.h / 2, 0);
} else {
// Get a pointer to the mouse data to use, and get the cursor hotspot
const byte *srcP = Amazon::CURSORS[cursorId];