mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
DIRECTOR: LINGO: Support REFERENCE Datum in Lingo::alignTypes()
This commit is contained in:
parent
507280c2d1
commit
b3865a7029
@ -329,6 +329,12 @@ void Lingo::restartLingo() {
|
||||
int Lingo::alignTypes(Datum &d1, Datum &d2) {
|
||||
int opType = VOID;
|
||||
|
||||
if (d1.type == REFERENCE)
|
||||
d1.toString();
|
||||
|
||||
if (d2.type == REFERENCE)
|
||||
d2.toString();
|
||||
|
||||
if (d1.type == STRING) {
|
||||
char *endPtr = 0;
|
||||
double d = strtod(d1.u.s->c_str(), &endPtr);
|
||||
|
Loading…
Reference in New Issue
Block a user