aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-07-12 15:05:57 +0200
committerTorbjörn Andersson2015-07-12 15:05:57 +0200
commit4df89df1487ce4ee05c2df4104fe9be0bc0c9772 (patch)
treed4cca8615dc9633ab0c3b70bfa0b649381e3583a /engines/sherlock
parenta138fed53cb100e7d168695d8143d40e3d206d18 (diff)
downloadscummvm-rg350-4df89df1487ce4ee05c2df4104fe9be0bc0c9772.tar.gz
scummvm-rg350-4df89df1487ce4ee05c2df4104fe9be0bc0c9772.tar.bz2
scummvm-rg350-4df89df1487ce4ee05c2df4104fe9be0bc0c9772.zip
SHERLOCK: Fix mouse position check in Tattoo city map
The map itself isn't working properly, though.
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/tattoo/tattoo_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_map.cpp b/engines/sherlock/tattoo/tattoo_map.cpp
index 613951889c..1f068565b3 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);