From e8fb572487a599b8b66748b765e4669e811ab8c9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 12 Mar 2017 16:12:17 +0100 Subject: DIRECTOR: Lingo: Improved stack printing for REFERENCE --- engines/director/lingo/lingo.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines') diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 2a089ddcc5..f00d9a7d32 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -410,6 +410,9 @@ Common::String *Datum::toString() { case VAR: *s = Common::String::format("var: #%s", u.sym->name.c_str()); break; + case REFERENCE: + *s = Common::String::format("field#%d", u.i); + break; default: warning("Incorrect operation toString() for type: %s", type2str()); } -- cgit v1.2.3