[Scummvm-cvs-logs] scummvm master -> 4df89df1487ce4ee05c2df4104fe9be0bc0c9772

eriktorbjorn eriktorbjorn at telia.com
Sun Jul 12 15:08:11 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:
4df89df148 SHERLOCK: Fix mouse position check in Tattoo city map


Commit: 4df89df1487ce4ee05c2df4104fe9be0bc0c9772
    https://github.com/scummvm/scummvm/commit/4df89df1487ce4ee05c2df4104fe9be0bc0c9772
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-07-12T15:05:57+02:00

Commit Message:
SHERLOCK: Fix mouse position check in Tattoo city map

The map itself isn't working properly, though.

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 6139518..1f06856 100644
--- a/engines/sherlock/tattoo/tattoo_map.cpp
+++ b/engines/sherlock/tattoo/tattoo_map.cpp
@@ -127,7 +127,7 @@ int TattooMap::show() {
 		// Allow for event processing and get the current mouse position
 		events.pollEventsAndWait();
 		events.setButtonState();
-		Common::Point mousePos = events.mousePos();
+		Common::Point mousePos = events.screenMousePos();
 
 		checkMapNames(true);
 






More information about the Scummvm-git-logs mailing list