diff options
author | Max Horn | 2002-09-16 10:42:12 +0000 |
---|---|---|
committer | Max Horn | 2002-09-16 10:42:12 +0000 |
commit | a6c5762817069974dda24e86a08f91380f15d241 (patch) | |
tree | d98b9d29dea7f87ab878b16dcd2597b9a109b2b7 /scumm/actor.cpp | |
parent | ae871cd4a6d358cedecd729fb951289c6535fab1 (diff) | |
download | scummvm-rg350-a6c5762817069974dda24e86a08f91380f15d241.tar.gz scummvm-rg350-a6c5762817069974dda24e86a08f91380f15d241.tar.bz2 scummvm-rg350-a6c5762817069974dda24e86a08f91380f15d241.zip |
added some comments, cleanup
svn-id: r4950
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 9790993403..6fad8ae9c1 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -258,7 +258,7 @@ int Actor::updateActorDirection(bool is_walking) dir = remapDirection(newDirection, is_walking); shouldInterpolate = (dir & 1024); to = toSimpleDir(dirType, dir & 1023); - num = numSimpleDirDirections(dirType); + num = dirType ? 8 : 4; if (shouldInterpolate) { // Turn left or right, depending on which is shorter. |