diff options
author | Paul Gilbert | 2015-08-27 08:18:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-27 08:18:46 -0400 |
commit | e96a302b74e70b862034cfbfb81af6093094d97d (patch) | |
tree | 60649f498017113f32f662f9f09211c6ff45a6ca /engines/sherlock | |
parent | be4c87a48d5fedd8d48bc8d38683fa442b60505e (diff) | |
download | scummvm-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.cpp | 2 |
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) { |