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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Nov 19 14:23:20 CET 2010


Revision: 54377
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54377&view=rev
Author:   thebluegr
Date:     2010-11-19 13:23:20 +0000 (Fri, 19 Nov 2010)

Log Message:
-----------
SCI: Also send system strings to kString(). This makes LSL7 continue into the actual game! :D

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-11-19 13:03:31 UTC (rev 54376)
+++ scummvm/trunk/engines/sci/engine/klists.cpp	2010-11-19 13:23:20 UTC (rev 54377)
@@ -631,7 +631,8 @@
 		if (argv[2].toUint16() == 3)
 			return kString(s, argc, argv);
 	} else {
-		if (s->_segMan->getSegmentType(argv[1].segment) == SEG_TYPE_STRING)
+		if (s->_segMan->getSegmentType(argv[1].segment) == SEG_TYPE_STRING ||
+			s->_segMan->getSegmentType(argv[1].segment) == SEG_TYPE_SYS_STRINGS)
 			return kString(s, argc, argv);
 	}
 


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