aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo-code.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp
index ab42c0d3de..0bc6c9d0b6 100644
--- a/engines/director/lingo/lingo-code.cpp
+++ b/engines/director/lingo/lingo-code.cpp
@@ -190,8 +190,9 @@ void Lingo::c_assign() {
delete d2.u.arr;
} else if (d2.type == SYMBOL) {
d1.u.sym->u.i = d2.u.i;
- else
- error("c_assign: unhandled type: %s", d2.type2str());
+ } else {
+ warning("c_assign: unhandled type: %s", d2.type2str());
+ }
d1.u.sym->type = d2.type;
@@ -236,7 +237,7 @@ void Lingo::c_eval() {
else if (d.u.sym->type == SYMBOL)
d.u.i = d.u.sym->u.i;
else
- error("c_eval: unhandled type: %s", d.type2str());
+ warning("c_eval: unhandled type: %s", d.type2str());
g_lingo->push(d);
}