[Scummvm-git-logs] scummvm master -> fc108b59e71bd59b95305a74a1a18260202f43d8

sev- sev at scummvm.org
Mon Jun 15 10:51:45 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:
fc108b59e7 DIRECTOR: LINGO: Added temporary fix for POINT handling


Commit: fc108b59e71bd59b95305a74a1a18260202f43d8
    https://github.com/scummvm/scummvm/commit/fc108b59e71bd59b95305a74a1a18260202f43d8
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-06-15T12:51:13+02:00

Commit Message:
DIRECTOR: LINGO: Added temporary fix for POINT handling

Changed paths:
    engines/director/lingo/lingo.cpp


diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index 050c4c3499..682a1297a7 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -1160,7 +1160,8 @@ void Lingo::varAssign(Datum &var, Datum &value, bool global, SymbolHash *localva
 
 		if (sym->type != INT && sym->type != VOID &&
 				sym->type != FLOAT && sym->type != STRING &&
-				sym->type != ARRAY && sym->type != PARRAY && sym->type != OBJECT) {
+				sym->type != ARRAY && sym->type != PARRAY && sym->type != OBJECT &&
+				sym->type != POINT) {
 			warning("varAssign: assignment to non-variable '%s'", sym->name->c_str());
 			return;
 		}




More information about the Scummvm-git-logs mailing list