[Scummvm-cvs-logs] CVS: scummvm script_v1.cpp,1.110,1.111

James Brown ender at users.sourceforge.net
Tue May 14 12:50:03 CEST 2002


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

Modified Files:
	script_v1.cpp 
Log Message:
Make if(cls) error a little more useful



Index: script_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/script_v1.cpp,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- script_v1.cpp	14 May 2002 19:44:41 -0000	1.110
+++ script_v1.cpp	14 May 2002 19:49:22 -0000	1.111
@@ -1455,7 +1455,7 @@
 		if (cls)
 			b = getClass(act, cls);
 		else
-			error("FIXME! Ender forgot why he added this.");
+			error("FIXME! Ender forgot why he added this. Please report this as a bug code %d", cls);
 
 		if (cls & 0x80 && !b || !(cls & 0x80) && b)
 			cond = false;





More information about the Scummvm-git-logs mailing list