aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-09-21 11:46:56 +0000
committerTravis Howell2004-09-21 11:46:56 +0000
commit0a4a328cc4b5c8a91aa18123ddb38238499d8674 (patch)
tree65ed2e808c5efa24ae3617bd410ab9e9df522b9f
parentbcb66fc93edc45472cb3af0be3431ef1901975ea (diff)
downloadscummvm-rg350-0a4a328cc4b5c8a91aa18123ddb38238499d8674.tar.gz
scummvm-rg350-0a4a328cc4b5c8a91aa18123ddb38238499d8674.tar.bz2
scummvm-rg350-0a4a328cc4b5c8a91aa18123ddb38238499d8674.zip
Filter out both trace msgs.
svn-id: r15219
-rw-r--r--scumm/script_v72he.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index d52c9e6faf..225534755c 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -672,7 +672,8 @@ void ScummEngine_v72he::o72_addMessageToStack() {
_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;