diff options
author | Vladimir Menshakov | 2010-01-03 01:06:42 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2010-01-03 01:06:42 +0000 |
commit | ea513b33048132b46b3c2d6ad240122b4e0437a5 (patch) | |
tree | 6b258aef2cfab3b4123ac9cdf3ecb2f56014df25 /engines/teenagent | |
parent | dcc4f179ac0d7efa273d2a9a8ab93d62a3fbf8de (diff) | |
download | scummvm-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.cpp | 2 |
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; |