aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/people.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/people.cpp')
-rw-r--r--engines/sherlock/people.cpp3
1 files changed, 1 insertions, 2 deletions
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);