[Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.78,1.79

Max Horn fingolfin at users.sourceforge.net
Mon Jun 3 14:53:03 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv30242

Modified Files:
	actor.cpp 
Log Message:
fixed warning

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/actor.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- actor.cpp	3 Jun 2002 21:49:46 -0000	1.78
+++ actor.cpp	3 Jun 2002 21:52:34 -0000	1.79
@@ -759,8 +759,6 @@
 
 void Actor::startWalkAnim(int cmd, int angle)
 {
-	int16 args[16];
-
 	if (angle == -1)
 		angle = facing;
 
@@ -770,7 +768,9 @@
  * note: walk scripts aren't required to make the game
  * work as usual */
 	
-/*	if (walk_script != 0) {
+/*	int16 args[16];
+
+	if (walk_script != 0) {
 		args[2] = angle;
 		args[0] = number;
 		args[1] = cmd;





More information about the Scummvm-git-logs mailing list