diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp index 0c36177a56e..b80514ded60 100644 --- a/engines/director/lingo/lingo-the.cpp +++ b/engines/director/lingo/lingo-the.cpp @@ -1863,6 +1863,8 @@ void Lingo::setTheField(Datum &id1, int field, Datum &d) { if (id1.type == INT) { id = id1.u.i; + } else if (id1.type == STRING) { + id = g_lingo->castIdFetch(id1); } else { warning("Lingo::setTheField(): Unknown the cast id type: %s", id1.type2str()); return;