aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-05-17 00:33:29 +0000
committerMax Horn2003-05-17 00:33:29 +0000
commit58ab6d50395b8f31ba29b452593b21d80435f95a (patch)
tree6cacb4a23da18c6d8803bbb880809ad677b08304 /scumm
parent21264fa23ada7b4cc645792d8bbb4eaae0e16b1f (diff)
downloadscummvm-rg350-58ab6d50395b8f31ba29b452593b21d80435f95a.tar.gz
scummvm-rg350-58ab6d50395b8f31ba29b452593b21d80435f95a.tar.bz2
scummvm-rg350-58ab6d50395b8f31ba29b452593b21d80435f95a.zip
proper walk animation in Zak (at the expense of Zak's head, for now ;-)
svn-id: r7589
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 771405131d..db631b8930 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -78,6 +78,13 @@ void Actor::initActor(int mode) {
talk_script = 0;
if (_vm) {
+ if (_vm->_features & GF_AFTER_V2) {
+ initFrame = 1;
+ walkFrame = 0;
+ standFrame = 1;
+ talkFrame1 = 5;
+ talkFrame2 = 4;
+ }
_vm->_classData[number] = (_vm->_features & GF_AFTER_V7) ? _vm->_classData[0] : 0;
}
}