aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/animator_v2.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-09 14:46:24 +0000
committerJohannes Schickel2008-03-09 14:46:24 +0000
commit05f68b17d4a60ece9e2eed14746eab5b29a3e688 (patch)
tree0e17bd1f237f7921151de9757d41e178fa1cab18 /engines/kyra/animator_v2.cpp
parent95c5a48853f8437606008c6705e400699dc3ee43 (diff)
downloadscummvm-rg350-05f68b17d4a60ece9e2eed14746eab5b29a3e688.tar.gz
scummvm-rg350-05f68b17d4a60ece9e2eed14746eab5b29a3e688.tar.bz2
scummvm-rg350-05f68b17d4a60ece9e2eed14746eab5b29a3e688.zip
- implemented cauldron handling for HoF (needs some more testing though)
- fixed bug in updateCharFacing - added 'give' command to HoF debugger, which allows setting the hand item to a specified item svn-id: r31087
Diffstat (limited to 'engines/kyra/animator_v2.cpp')
-rw-r--r--engines/kyra/animator_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/animator_v2.cpp b/engines/kyra/animator_v2.cpp
index 0d4bdf3328..9bd9b76dfc 100644
--- a/engines/kyra/animator_v2.cpp
+++ b/engines/kyra/animator_v2.cpp
@@ -202,7 +202,7 @@ void KyraEngine_v2::updateCharFacing() {
else
_mainCharacter.facing = 3;
- _mainCharacter.animFrame = _characterFrameTable[_mainCharacter.animFrame];
+ _mainCharacter.animFrame = _characterFrameTable[_mainCharacter.facing];
updateCharacterAnim(0);
refreshAnimObjectsIfNeed();
}