diff options
author | Eugene Sandulenko | 2017-03-12 16:12:17 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-12 16:20:01 +0100 |
commit | e8fb572487a599b8b66748b765e4669e811ab8c9 (patch) | |
tree | 48f76d87fece811ca3184b220d53dc7a1bb0c784 | |
parent | d1d8fc698a769cc2746084b231426b4ec8870394 (diff) | |
download | scummvm-rg350-e8fb572487a599b8b66748b765e4669e811ab8c9.tar.gz scummvm-rg350-e8fb572487a599b8b66748b765e4669e811ab8c9.tar.bz2 scummvm-rg350-e8fb572487a599b8b66748b765e4669e811ab8c9.zip |
DIRECTOR: Lingo: Improved stack printing for REFERENCE
-rw-r--r-- | engines/director/lingo/lingo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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()); } |