From 30de1272b7c6b50475270aa2882841f65ee7a5e0 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 20 Feb 2017 19:11:38 +0100 Subject: DIRECTOR: Added more debug output for score --- engines/director/lingo/lingo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/director/lingo/lingo.cpp') diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 759d40e819..4cfdc3fd82 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -158,7 +158,8 @@ const char *Lingo::findNextDefinition(const char *s) { } void Lingo::addCode(const char *code, ScriptType type, uint16 id) { - debugC(2, kDebugLingoCompile, "Add code \"%s\" for type %d with id %d", code, type, id); + debugC(2, kDebugLingoCompile, "Add code \"%s\" for type %s with id %d", code, scriptType2str(type), id); + warning("Add code \"%s\" for type %s with id %d", code, scriptType2str(type), id); if (_scripts[type].contains(id)) { delete _scripts[type][id]; -- cgit v1.2.3