diff options
author | Paul Gilbert | 2014-01-03 09:20:53 -1000 |
---|---|---|
committer | Paul Gilbert | 2014-01-03 09:20:53 -1000 |
commit | 1c3708630bd4e2698704883e1b1aeea94ef8379b (patch) | |
tree | c4eb0b701775f2b00fadad6cf118626e543cbf9e /engines/voyeur/events.cpp | |
parent | 76f7d974f6f0fe97033e07481f0b9d8f2cc2b42b (diff) | |
download | scummvm-rg350-1c3708630bd4e2698704883e1b1aeea94ef8379b.tar.gz scummvm-rg350-1c3708630bd4e2698704883e1b1aeea94ef8379b.tar.bz2 scummvm-rg350-1c3708630bd4e2698704883e1b1aeea94ef8379b.zip |
VOYEUR: Replaced original game mansion scrolling with a more effective one
The original had the cursor fixed in the middle of the screen, and
scrolled the mansion view as the mouse moves. Since this doesn't really
work for windowed mode nor tablets, I've replaced it with a new version
that scrolls when the mouse cursor is near any edge of the screen
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r-- | engines/voyeur/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp index 6ac36ddb94..e7f7916676 100644 --- a/engines/voyeur/events.cpp +++ b/engines/voyeur/events.cpp @@ -488,7 +488,7 @@ void EventsManager::setCursor(PictureResource *pic) { } void EventsManager::setCursor(byte *cursorData, int width, int height) { - CursorMan.replaceCursor(cursorData, width, height, 0, 0, 0); + CursorMan.replaceCursor(cursorData, width, height, width / 2, height / 2, 0); } void EventsManager::setCursorColor(int idx, int mode) { |