aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2017-03-12 16:12:17 +0100
committerEugene Sandulenko2017-03-12 16:20:01 +0100
commite8fb572487a599b8b66748b765e4669e811ab8c9 (patch)
tree48f76d87fece811ca3184b220d53dc7a1bb0c784 /engines
parentd1d8fc698a769cc2746084b231426b4ec8870394 (diff)
downloadscummvm-rg350-e8fb572487a599b8b66748b765e4669e811ab8c9.tar.gz
scummvm-rg350-e8fb572487a599b8b66748b765e4669e811ab8c9.tar.bz2
scummvm-rg350-e8fb572487a599b8b66748b765e4669e811ab8c9.zip
DIRECTOR: Lingo: Improved stack printing for REFERENCE
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo.cpp3
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());
}