[Scummvm-cvs-logs] CVS: scummvm script_v1.cpp,1.127,1.128

James Brown ender at users.sourceforge.net
Thu Aug 1 17:44:43 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv7219

Modified Files:
	script_v1.cpp 
Log Message:
Remove an error to fix bug 582476



Index: script_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/script_v1.cpp,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -d -r1.127 -r1.128
--- script_v1.cpp	18 Jul 2002 15:45:10 -0000	1.127
+++ script_v1.cpp	30 Jul 2002 12:02:28 -0000	1.128
@@ -1407,10 +1407,11 @@
 
 	while ((_opcode = fetchScriptByte()) != 0xFF) {
 		cls = getVarOrDirectWord(0x80);
-		if (cls)
-			b = getClass(act, cls);
+
+		if (!cls) // FIXME: Ender can't remember why this is here,
+			b=false;  // but it fixes an oddball zak256 crash
 		else
-			error("FIXME! Ender forgot why he added this. Please report this as a bug code %d", cls);
+			b = getClass(act, cls);
 
 		if (cls & 0x80 && !b || !(cls & 0x80) && b)
 			cond = false;





More information about the Scummvm-git-logs mailing list