From e96a302b74e70b862034cfbfb81af6093094d97d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 27 Aug 2015 08:18:46 -0400 Subject: SHERLOCK: RT: Fix incorrect Watson movement at Aerodrome scene --- engines/sherlock/tattoo/tattoo_people.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sherlock/tattoo') 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) { -- cgit v1.2.3