From da5467d4cfecd221ebb6dbda1d11fc869507e647 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 22 Apr 2003 16:46:33 +0000 Subject: [PATCH] script debug messages not just for comi svn-id: r7074 --- scumm/string.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scumm/string.cpp b/scumm/string.cpp index d871eddc3c1..b34eb5c66a5 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; }