[Scummvm-cvs-logs] SF.net SVN: scummvm: [31564] scummvm/trunk/engines/kyra/animator_v3.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Apr 18 23:41:55 CEST 2008


Revision: 31564
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31564&view=rev
Author:   lordhoto
Date:     2008-04-18 14:41:55 -0700 (Fri, 18 Apr 2008)

Log Message:
-----------
Fixed some valgrind warnings.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/animator_v3.cpp

Modified: scummvm/trunk/engines/kyra/animator_v3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/animator_v3.cpp	2008-04-18 19:33:06 UTC (rev 31563)
+++ scummvm/trunk/engines/kyra/animator_v3.cpp	2008-04-18 21:41:55 UTC (rev 31564)
@@ -45,6 +45,7 @@
 	_animObjects[0].height2 = 10;
 
 	for (int i = 1; i < 17; ++i) {
+		_animObjects[i].index = i;
 		_animObjects[i].type = 2;
 		_animObjects[i].flags = 0;
 		_animObjects[i].enabled = false;
@@ -53,6 +54,7 @@
 	}
 
 	for (int i = 17; i <= 66; ++i) {
+		_animObjects[i].index = i;
 		_animObjects[i].type = 1;
 		_animObjects[i].unk8 = 1;
 		_animObjects[i].flags = 0x800;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list