diff options
author | Max Horn | 2005-03-28 20:34:18 +0000 |
---|---|---|
committer | Max Horn | 2005-03-28 20:34:18 +0000 |
commit | c13f6b9cbb10fc155d84bdbf454aeb35a4041683 (patch) | |
tree | 3564bb983940c1a9a04621fead13d4163d29a278 /scumm/actor.cpp | |
parent | 9ca1a888032be5b7ccc14b347f6a85ac8040e6c3 (diff) | |
download | scummvm-rg350-c13f6b9cbb10fc155d84bdbf454aeb35a4041683.tar.gz scummvm-rg350-c13f6b9cbb10fc155d84bdbf454aeb35a4041683.tar.bz2 scummvm-rg350-c13f6b9cbb10fc155d84bdbf454aeb35a4041683.zip |
Always check hasManyDirections for AKOS costumes -- this could cause regressions with HE games (or fix something, who knows?)
svn-id: r17279
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index cf1691279c..613567e868 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -327,9 +327,7 @@ int Actor::updateActorDirection(bool is_walking) { if ((_vm->_version == 6) && _ignoreTurns) return _facing; - if (_vm->_version >= 7) { - dirType = ((AkosCostumeLoader *)_vm->_costumeLoader)->hasManyDirections(_costume); - } + dirType = _vm->_costumeLoader->hasManyDirections(_costume); from = toSimpleDir(dirType, _facing); dir = remapDirection(_targetFacing, is_walking); |