diff options
author | Paul Gilbert | 2015-07-15 19:02:59 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-15 19:02:59 -0400 |
commit | 0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9 (patch) | |
tree | 5f373676593bbf3c2a24d7f010be443819bd30f6 /engines/sherlock | |
parent | 8b5716f5383bb9760e8e56a31f4f38922a60c656 (diff) | |
download | scummvm-rg350-0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9.tar.gz scummvm-rg350-0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9.tar.bz2 scummvm-rg350-0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9.zip |
SHERLOCK: RT: Reposition mouse when showing map to prevent scrolling
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_map.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_map.cpp b/engines/sherlock/tattoo/tattoo_map.cpp index b60ac3aa8b..21abf7d3c0 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"); |