[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.92,1.93

Max Horn fingolfin at users.sourceforge.net
Fri May 16 17:34:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv31704

Modified Files:
	actor.cpp 
Log Message:
proper walk animation in Zak (at the expense of Zak's head, for now ;-)

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- actor.cpp	16 May 2003 10:00:03 -0000	1.92
+++ actor.cpp	17 May 2003 00:33:29 -0000	1.93
@@ -78,6 +78,13 @@
 	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;
 	}
 }





More information about the Scummvm-git-logs mailing list