aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-27 08:18:46 -0400
committerPaul Gilbert2015-08-27 08:18:46 -0400
commite96a302b74e70b862034cfbfb81af6093094d97d (patch)
tree60649f498017113f32f662f9f09211c6ff45a6ca /engines/sherlock
parentbe4c87a48d5fedd8d48bc8d38683fa442b60505e (diff)
downloadscummvm-rg350-e96a302b74e70b862034cfbfb81af6093094d97d.tar.gz
scummvm-rg350-e96a302b74e70b862034cfbfb81af6093094d97d.tar.bz2
scummvm-rg350-e96a302b74e70b862034cfbfb81af6093094d97d.zip
SHERLOCK: RT: Fix incorrect Watson movement at Aerodrome scene
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/tattoo/tattoo_people.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp
index 5cb6c4cfbb..bd2ed0eba6 100644
--- a/engines/sherlock/tattoo/tattoo_people.cpp
+++ b/engines/sherlock/tattoo/tattoo_people.cpp
@@ -1486,7 +1486,7 @@ const Common::Point TattooPeople::restrictToZone(int zoneId, const Common::Point
else if (destPos.x < r.left && r.top < destPos.y && destPos.y < r.bottom)
return Common::Point(r.left, destPos.y);
else if (destPos.x > r.right && r.top < destPos.y && destPos.y < r.bottom)
- return Common::Point(r.bottom, destPos.y);
+ return Common::Point(r.right, destPos.y);
// Find which corner of the zone the point is closet to
if (destPos.x <= r.left) {