[Scummvm-git-logs] scummvm master -> b0e07fddff23877d8b7dca302ead4fbbd31c2136
djsrv
dservilla at gmail.com
Thu Aug 13 18:20:54 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b0e07fddff DIRECTOR: LINGO: Fix setTheField with string ID
Commit: b0e07fddff23877d8b7dca302ead4fbbd31c2136
https://github.com/scummvm/scummvm/commit/b0e07fddff23877d8b7dca302ead4fbbd31c2136
Author: djsrv (dservilla at gmail.com)
Date: 2020-08-13T14:20:18-04:00
Commit Message:
DIRECTOR: LINGO: Fix setTheField with string ID
Changed paths:
engines/director/lingo/lingo-the.cpp
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index 0c36177a56..b80514ded6 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;
More information about the Scummvm-git-logs
mailing list