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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Sep 30 15:19:17 CEST 2008


Revision: 34705
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34705&view=rev
Author:   thebluegr
Date:     2008-09-30 13:19:14 +0000 (Tue, 30 Sep 2008)

Log Message:
-----------
Fixed crash when starting IHNM, a regression from commit #34693

Modified Paths:
--------------
    scummvm/trunk/engines/saga/rscfile.cpp

Modified: scummvm/trunk/engines/saga/rscfile.cpp
===================================================================
--- scummvm/trunk/engines/saga/rscfile.cpp	2008-09-30 12:59:29 UTC (rev 34704)
+++ scummvm/trunk/engines/saga/rscfile.cpp	2008-09-30 13:19:14 UTC (rev 34705)
@@ -319,7 +319,7 @@
 	}
 
 	//process external patch files
-	for (patchDescription = _vm->getPatchDescriptions(); patchDescription->fileName; ++patchDescription) {
+	for (patchDescription = _vm->getPatchDescriptions(); patchDescription; ++patchDescription) {
 		if ((patchDescription->fileType & context->fileType) != 0) {
 			if (patchDescription->resourceId < context->count) {
 				resourceData = &context->table[patchDescription->resourceId];


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