aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/teenagent/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp
index b23b44a300..2dbb48222a 100644
--- a/engines/teenagent/scene.cpp
+++ b/engines/teenagent/scene.cpp
@@ -685,7 +685,7 @@ bool Scene::render() {
Common::Point dp(destination.x - position.x, destination.y - position.y);
int o;
- if (ABS(dp.x) > 3 * ABS(dp.y))
+ if (ABS(dp.x) > ABS(dp.y))
o = dp.x > 0 ? kActorRight : kActorLeft;
else
o = dp.y > 0 ? kActorDown : kActorUp;