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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Aug 24 16:54:17 CEST 2010


Revision: 52343
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52343&view=rev
Author:   thebluegr
Date:     2010-08-24 14:54:16 +0000 (Tue, 24 Aug 2010)

Log Message:
-----------
SCI: Define xLast/yLast for LB2 floppy (which has no selector
vocabulary), since they're used inside kDoBresen()

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

Modified: scummvm/trunk/engines/sci/engine/static_selectors.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/static_selectors.cpp	2010-08-24 14:40:18 UTC (rev 52342)
+++ scummvm/trunk/engines/sci/engine/static_selectors.cpp	2010-08-24 14:54:16 UTC (rev 52343)
@@ -177,13 +177,16 @@
 			names[110] = "init";
 		} else if (g_sci->getGameId() == GID_LAURABOW2) {
 			// The floppy of version needs the open and changeState selectors set to match up with the
-			// CD version's workarounds - bugs #3035694, #3036291 and #3041257
-			if (names.size() < 190)
-				names.resize(190);
+			// CD version's workarounds - bugs #3035694, #3036291 and #3041257. Also, xLast and yLast
+			// are set, since they're used inside kDoBresen()
+			if (names.size() < 251)
+				names.resize(251);
 
 			names[110] = "init";
 			names[144] = "changeState";
 			names[189] = "open";
+			names[249] = "xLast";
+			names[250] = "yLast";
 		}
 
 #ifdef ENABLE_SCI32


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