aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorVladimir Menshakov2010-01-03 01:06:42 +0000
committerVladimir Menshakov2010-01-03 01:06:42 +0000
commitea513b33048132b46b3c2d6ad240122b4e0437a5 (patch)
tree6b258aef2cfab3b4123ac9cdf3ecb2f56014df25 /engines/teenagent
parentdcc4f179ac0d7efa273d2a9a8ab93d62a3fbf8de (diff)
downloadscummvm-rg350-ea513b33048132b46b3c2d6ad240122b4e0437a5.tar.gz
scummvm-rg350-ea513b33048132b46b3c2d6ad240122b4e0437a5.tar.bz2
scummvm-rg350-ea513b33048132b46b3c2d6ad240122b4e0437a5.zip
fixed h/v animation switch ratio
svn-id: r46908
Diffstat (limited to 'engines/teenagent')
-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;