From 8629feb410068c084741de1bc2126ed6cd53a4cd Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 14 Jun 2015 00:43:19 -0400 Subject: SHERLOCK: RT: Implemented walk setup --- engines/sherlock/people.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/sherlock/people.cpp') diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp index 349be671a4..7cdaab7626 100644 --- a/engines/sherlock/people.cpp +++ b/engines/sherlock/people.cpp @@ -73,8 +73,7 @@ Person::Person() : Sprite() { void Person::goAllTheWay() { People &people = *_vm->_people; Scene &scene = *_vm->_scene; - Common::Point srcPt(_position.x / FIXED_INT_MULTIPLIER + frameWidth() / 2, - _position.y / FIXED_INT_MULTIPLIER); + Common::Point srcPt = getSourcePoint(); // Get the zone the player is currently in _srcZone = scene.whichZone(srcPt); -- cgit v1.2.3