[Scummvm-cvs-logs] scummvm master -> 0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9
dreammaster
dreammaster at scummvm.org
Thu Jul 16 01:07:26 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
0e8cb7cebc SHERLOCK: RT: Reposition mouse when showing map to prevent scrolling
Commit: 0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9
https://github.com/scummvm/scummvm/commit/0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-07-15T19:02:59-04:00
Commit Message:
SHERLOCK: RT: Reposition mouse when showing map to prevent scrolling
Changed paths:
engines/sherlock/tattoo/tattoo_map.cpp
diff --git a/engines/sherlock/tattoo/tattoo_map.cpp b/engines/sherlock/tattoo/tattoo_map.cpp
index b60ac3a..21abf7d 100644
--- a/engines/sherlock/tattoo/tattoo_map.cpp
+++ b/engines/sherlock/tattoo/tattoo_map.cpp
@@ -92,6 +92,7 @@ int TattooMap::show() {
// Load the custom mouse cursors for the map
ImageFile cursors("omouse.vgs");
events.setCursor(cursors[0]._frame);
+ events.warpMouse(Common::Point(SHERLOCK_SCREEN_WIDTH / 2, SHERLOCK_SCREEN_HEIGHT / 2));
// Load the data for the map
_iconImages = new ImageFile("mapicons.vgs");
More information about the Scummvm-git-logs
mailing list