aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-01-15 02:59:51 +0000
committerTravis Howell2004-01-15 02:59:51 +0000
commit6752f57473d9bbfdcd2acd66f2c70ce2c6e76e0b (patch)
tree2733e82eff0c41bb976430fde6b1a7cac44858cc /scumm/akos.cpp
parentb99db7695845efa59cdb02f01159d7c1b87a612c (diff)
downloadscummvm-rg350-6752f57473d9bbfdcd2acd66f2c70ce2c6e76e0b.tar.gz
scummvm-rg350-6752f57473d9bbfdcd2acd66f2c70ce2c6e76e0b.tar.bz2
scummvm-rg350-6752f57473d9bbfdcd2acd66f2c70ce2c6e76e0b.zip
Use simpler checks
HE games used old directions style svn-id: r12397
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index a92f416f9a..d3af4ee874 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -126,7 +126,7 @@ bool ScummEngine::akos_hasManyDirections(int costume) {
}
int ScummEngine::akos_frameToAnim(Actor *a, int frame) {
- if (akos_hasManyDirections(a->costume))
+ if (_version >= 7 && akos_hasManyDirections(a->costume))
return toSimpleDir(1, a->getFacing()) + frame * 8;
else
return newDirToOldDir(a->getFacing()) + frame * 4;