aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray2003-04-22 16:46:33 +0000
committerJonathan Gray2003-04-22 16:46:33 +0000
commitda5467d4cfecd221ebb6dbda1d11fc869507e647 (patch)
tree85773e621092bd1f1086ec907d9e3a5c7c55f5f5
parent90610fef1a7a4f4dd6a36845f9df3945383fcb76 (diff)
downloadscummvm-rg350-da5467d4cfecd221ebb6dbda1d11fc869507e647.tar.gz
scummvm-rg350-da5467d4cfecd221ebb6dbda1d11fc869507e647.tar.bz2
scummvm-rg350-da5467d4cfecd221ebb6dbda1d11fc869507e647.zip
script debug messages not just for comi
svn-id: r7074
-rw-r--r--scumm/string.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index d871eddc3c..b34eb5c66a 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -33,8 +33,9 @@ void Scumm::unkMessage1() {
_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;
}