DIRECTOR: LINGO: Fix setTheField with string ID

This commit is contained in:
djsrv committed 2020-08-13 14:20:18 -04:00
1 parent f8def75cdc
commit b0e07fddff
1 file changed
+2
+2
View File
@@ -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;