diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/events.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp index bdea8af67d..6ed5a9c37e 100644 --- a/engines/hopkins/events.cpp +++ b/engines/hopkins/events.cpp @@ -167,10 +167,13 @@ void EventsManager::CHANGE_MOUSE(int id) { destP += _vm->_globals.OBJL; } + // Calculate the X offset within the pointer image to the actual cursor data + int xOffset = !mouse_linux ? 10 : 20; + // Set the ScummVM cursor from the surface Graphics::PixelFormat pixelFormat = g_system->getScreenFormat(); g_system->setMouseCursor(cursorPixels, _vm->_globals.OBJL, _vm->_globals.OBJH, - 0, 0, 0, true, &pixelFormat); + xOffset, 0, 0, true, &pixelFormat); // Delete the cursor surface delete[] cursorPixels; |