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

waltervn at users.sourceforge.net waltervn at users.sourceforge.net
Tue Mar 24 22:18:06 CET 2009


Revision: 39675
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39675&view=rev
Author:   waltervn
Date:     2009-03-24 21:18:06 +0000 (Tue, 24 Mar 2009)

Log Message:
-----------
SCI: build fix.

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

Modified: scummvm/trunk/engines/sci/engine/kpathing.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kpathing.cpp	2009-03-24 21:03:50 UTC (rev 39674)
+++ scummvm/trunk/engines/sci/engine/kpathing.cpp	2009-03-24 21:18:06 UTC (rev 39675)
@@ -1194,7 +1194,7 @@
 
 	// WORKAROUND: broken polygon in LSL1VGA, room 350, after opening elevator
 	// Polygon has 17 points but size is set to 19
-	if ((strcmp(s->game_name, "LSL1") == 0)) {
+	if (s->_gameName == "LSL1") {
 		// FIXME: implement function to get current room number
 		if ((KP_UINT(s->script_000->locals_block->locals[13]) == 350)
 		&& (size == 19) && (read_point(list, is_reg_t, 18) == Common::Point(108, 137))) {


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