[Scummvm-cvs-logs] SF.net SVN: scummvm:[35750] scummvm/trunk/engines/saga

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jan 6 11:34:51 CET 2009


Revision: 35750
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35750&view=rev
Author:   thebluegr
Date:     2009-01-06 10:34:51 +0000 (Tue, 06 Jan 2009)

Log Message:
-----------
The Mac version and Mac demo of ITE no longer crash on exit

Modified Paths:
--------------
    scummvm/trunk/engines/saga/script.h
    scummvm/trunk/engines/saga/sprite.cpp

Modified: scummvm/trunk/engines/saga/script.h
===================================================================
--- scummvm/trunk/engines/saga/script.h	2009-01-06 10:33:40 UTC (rev 35749)
+++ scummvm/trunk/engines/saga/script.h	2009-01-06 10:34:51 UTC (rev 35750)
@@ -512,7 +512,6 @@
 	void sfFaceTowards(SCRIPTFUNC_PARAMS);
 	void sfSetFollower(SCRIPTFUNC_PARAMS);
 	void sfScriptGotoScene(SCRIPTFUNC_PARAMS);
-
 	void sfSetObjImage(SCRIPTFUNC_PARAMS);
 	void sfSetObjName(SCRIPTFUNC_PARAMS);
 	void sfGetObjImage(SCRIPTFUNC_PARAMS);

Modified: scummvm/trunk/engines/saga/sprite.cpp
===================================================================
--- scummvm/trunk/engines/saga/sprite.cpp	2009-01-06 10:33:40 UTC (rev 35749)
+++ scummvm/trunk/engines/saga/sprite.cpp	2009-01-06 10:34:51 UTC (rev 35750)
@@ -134,6 +134,7 @@
 		if (offset >= spriteListLength) {
 			// ITE Mac demos throw this warning
 			warning("Sprite::loadList offset exceeded");
+			spriteList.spriteCount = i;
 			return;
 		}
 


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