aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-17 19:31:47 +0200
committerEugene Sandulenko2016-10-17 19:31:47 +0200
commit402c4758f312cb17689493a10fce4ee1aba63a61 (patch)
tree287ccf341189c373f318a7676285b0a1030f85ac
parentc5e233b66b1acff08b2506f6536253bb6af8c851 (diff)
downloadscummvm-rg350-402c4758f312cb17689493a10fce4ee1aba63a61.tar.gz
scummvm-rg350-402c4758f312cb17689493a10fce4ee1aba63a61.tar.bz2
scummvm-rg350-402c4758f312cb17689493a10fce4ee1aba63a61.zip
DIRECTOR: Lingo: Hide noisy warnings
-rw-r--r--engines/director/lingo/lingo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index cef7f330a1..9c6b586234 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -235,7 +235,7 @@ void Lingo::addCode(const char *code, ScriptType type, uint16 id) {
void Lingo::executeScript(ScriptType type, uint16 id) {
if (!_scripts[type].contains(id)) {
- warning("Request to execute non-existant script type %d id %d", type, id);
+ debugC(3, kDebugLingoExec, "Request to execute non-existant script type %d id %d", type, id);
return;
}
@@ -279,7 +279,6 @@ void Lingo::processEvent(LEvent event, int entityId) {
call(_eventHandlerTypes[event], 0);
pop();
} else {
- warning("---- Handler %s is not set", _eventHandlerTypes[event]);
debugC(8, kDebugLingoExec, "STUB: processEvent(%s) for %d", _eventHandlerTypes[event], entityId);
}
}