SHERLOCK: RT: Reposition mouse when showing map to prevent scrolling

This commit is contained in:
Paul Gilbert 2015-07-15 19:02:59 -04:00
parent 8b5716f538
commit 0e8cb7cebc

View File

@ -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");