aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-17 18:51:09 +0100
committerEugene Sandulenko2017-02-17 18:51:09 +0100
commitfb7992568fb9a93c17eef16d9c0bfa0d55e237e0 (patch)
tree7b3f71fd34038f6f19567f59ccb971b78574e695 /engines/director/lingo
parentc5295a1e03c4fc917d87341918a515594fe89ba2 (diff)
downloadscummvm-rg350-fb7992568fb9a93c17eef16d9c0bfa0d55e237e0.tar.gz
scummvm-rg350-fb7992568fb9a93c17eef16d9c0bfa0d55e237e0.tar.bz2
scummvm-rg350-fb7992568fb9a93c17eef16d9c0bfa0d55e237e0.zip
DIRECTOR: Beutify debug output
Diffstat (limited to 'engines/director/lingo')
-rw-r--r--engines/director/lingo/lingo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index a37b66f360..759d40e819 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -247,7 +247,7 @@ void Lingo::executeScript(ScriptType type, uint16 id) {
return;
}
- debugC(2, kDebugLingoExec, "Executing script type: %d, id: %d", type, id);
+ debugC(2, kDebugLingoExec, "Executing script type: %s, id: %d", scriptType2str(type), id);
_currentScript = _scripts[type][id];
_pc = 0;
@@ -294,7 +294,7 @@ void Lingo::processEvent(LEvent event, ScriptType st, int entityId) {
if (entityId <= 0)
return;
- debugC(1, kDebugEvents, "Lingo::processEvent(%s, %d, %d)", _eventHandlerTypes[event], st, entityId);
+ debugC(1, kDebugEvents, "Lingo::processEvent(%s, %s, %d)", _eventHandlerTypes[event], scriptType2str(st), entityId);
_currentEntityId = entityId;