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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jun 30 19:36:53 CEST 2010


Revision: 50537
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50537&view=rev
Author:   thebluegr
Date:     2010-06-30 17:36:52 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Added support for kAddAfter with 4 parameters (used in Torin's Passage, for example)

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-06-30 15:44:26 UTC (rev 50536)
+++ scummvm/trunk/engines/sci/engine/klists.cpp	2010-06-30 17:36:52 UTC (rev 50537)
@@ -271,9 +271,8 @@
 		return NULL_REG;
 	}
 
-	if (argc == 4)	// Torin's Passage
-		// TODO: Find out what the 4th parameter is
-		warning("kAddAfter with 4 params called, 4th param is %04x:%04x", PRINT_REG(argv[3]));
+	if (argc == 4)
+		newnode->key = argv[3];
 
 	if (firstnode) { // We're really appending after
 		reg_t oldnext = firstnode->succ;


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