[Scummvm-cvs-logs] CVS: scummvm/scumm string.cpp,1.101,1.102
Jonathan Gray
khalek at users.sourceforge.net
Tue Apr 22 09:47:14 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv15030a
Modified Files:
string.cpp
Log Message:
script debug messages not just for comi
Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- string.cpp 9 Apr 2003 08:06:55 -0000 1.101
+++ string.cpp 22 Apr 2003 16:46:33 -0000 1.102
@@ -33,8 +33,9 @@
_msgPtrToAdd = buffer;
_messagePtr = addMessageToStack(_messagePtr);
- if ((_gameId == GID_CMI) && _debugMode) { // In CMI, unkMessage1 is used for printDebug output
- warning("%s", buffer);
+// if ((_gameId == GID_CMI) && _debugMode) { // In CMI, unkMessage1 is used for printDebug output
+ if ((buffer[0] != 0xFF) && _debugMode) {
+ debug(0, "DEBUG: %s", buffer);
return;
}
More information about the Scummvm-git-logs
mailing list