[Scummvm-cvs-logs] SF.net SVN: scummvm:[51156] scummvm/trunk/engines/sci/engine/klists.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Jul 22 20:13:05 CEST 2010


Revision: 51156
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51156&view=rev
Author:   thebluegr
Date:     2010-07-22 18:13:05 +0000 (Thu, 22 Jul 2010)

Log Message:
-----------
SCI: Also allow checkListPointer() to check the result of lookupNode() itself

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/klists.cpp

Modified: scummvm/trunk/engines/sci/engine/klists.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/klists.cpp	2010-07-22 17:59:59 UTC (rev 51155)
+++ scummvm/trunk/engines/sci/engine/klists.cpp	2010-07-22 18:13:05 UTC (rev 51156)
@@ -75,8 +75,8 @@
 		// Empty list is fine
 	} else if (!list->first.isNull() && !list->last.isNull()) {
 		// Normal list
-		Node *node_a = segMan->lookupNode(list->first);
-		Node *node_z = segMan->lookupNode(list->last);
+		Node *node_a = segMan->lookupNode(list->first, false);
+		Node *node_z = segMan->lookupNode(list->last, false);
 
 		if (!node_a) {
 			error("checkListPointer (list %04x:%04x): missing first node", PRINT_REG(addr));


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