From c13f6b9cbb10fc155d84bdbf454aeb35a4041683 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 28 Mar 2005 20:34:18 +0000 Subject: Always check hasManyDirections for AKOS costumes -- this could cause regressions with HE games (or fix something, who knows?) svn-id: r17279 --- scumm/actor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scumm/actor.cpp') 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); -- cgit v1.2.3