[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.118,2.119

Travis Howell kirben at users.sourceforge.net
Tue Sep 21 04:48:01 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2063/scumm

Modified Files:
	script_v72he.cpp 
Log Message:

Filter out both trace msgs.


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.118
retrieving revision 2.119
diff -u -d -r2.118 -r2.119
--- script_v72he.cpp	21 Sep 2004 11:23:23 -0000	2.118
+++ script_v72he.cpp	21 Sep 2004 11:46:56 -0000	2.119
@@ -672,7 +672,8 @@
 	_stringLength = resStrLen(_scriptPointer) + 1;
 	addMessageToStack(_scriptPointer, _stringBuffer, _stringLength);
 
-	if (strcmp((char *)_stringBuffer, "no trace"))
+	// Filter out pointless trace messages, which often flood
+	if (strcmp((char *)_stringBuffer, "no trace") && strcmp((char *)_stringBuffer, "trace on"))
 		debug(0,"o72_addMessageToStack(\"%s\")", _scriptPointer);
 
 	_scriptPointer += _stringLength;





More information about the Scummvm-git-logs mailing list