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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Jun 28 20:07:40 CEST 2010


Revision: 50453
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50453&view=rev
Author:   m_kiewitz
Date:     2010-06-28 18:07:40 +0000 (Mon, 28 Jun 2010)

Log Message:
-----------
SCI: kAnimate resetting _lastCastCount all the time

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

Modified: scummvm/trunk/engines/sci/graphics/animate.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/animate.cpp	2010-06-28 17:03:04 UTC (rev 50452)
+++ scummvm/trunk/engines/sci/graphics/animate.cpp	2010-06-28 18:07:40 UTC (rev 50453)
@@ -159,8 +159,8 @@
 		_lastCastData = (AnimateEntry *)malloc(listCount * sizeof(AnimateEntry));
 		if (!_lastCastData)
 			error("Could not allocate memory for _lastCastData");
-		_lastCastCount = 0;
 	}
+	_lastCastCount = 0;
 
 	// Fill the list
 	curAddress = list->first;


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