[Scummvm-cvs-logs] SF.net SVN: scummvm: [21774] scummvm/trunk/engines/cine/various.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Mon Apr 10 17:25:01 CEST 2006


Revision: 21774
Author:   eriktorbjorn
Date:     2006-04-10 16:48:22 -0700 (Mon, 10 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21774&view=rev

Log Message:
-----------
Might as well clear ptr1 and ptr2 in animDataTable[] when loading a savegame.
The previous commit should ensure that the elements that need to be loaded are.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/various.cpp
Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp	2006-04-10 23:44:17 UTC (rev 21773)
+++ scummvm/trunk/engines/cine/various.cpp	2006-04-10 23:48:22 UTC (rev 21774)
@@ -650,6 +650,8 @@
 		animDataTable[i].var1 = fHandle->readUint16BE();
 		animDataTable[i].bpp = fHandle->readUint16BE();
 		animDataTable[i].height = fHandle->readUint16BE();
+		animDataTable[i].ptr1 = NULL;
+		animDataTable[i].ptr2 = NULL;
 		animDataTable[i].fileIdx = fHandle->readSint16BE();
 		animDataTable[i].frameIdx = fHandle->readSint16BE();
 		fHandle->read(animDataTable[i].name, 10);


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