[Scummvm-cvs-logs] SF.net SVN: scummvm:[55004] scummvm/trunk/engines/sci/graphics/frameout.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Dec 22 14:52:25 CET 2010


Revision: 55004
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55004&view=rev
Author:   thebluegr
Date:     2010-12-22 13:52:25 +0000 (Wed, 22 Dec 2010)

Log Message:
-----------
SCI2+: Set pictureCels to 0 after deleting them

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/frameout.cpp

Modified: scummvm/trunk/engines/sci/graphics/frameout.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/frameout.cpp	2010-12-22 13:51:35 UTC (rev 55003)
+++ scummvm/trunk/engines/sci/graphics/frameout.cpp	2010-12-22 13:52:25 UTC (rev 55004)
@@ -541,6 +541,7 @@
 		for (PlanePictureList::iterator pictureIt = _planePictures.begin(); pictureIt != _planePictures.end(); pictureIt++) {
 			if (pictureIt->object == planeObject) {
 				delete[] pictureIt->pictureCels;
+				pictureIt->pictureCels = 0;
 			}
 		}
 	}


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