From 9172820158e9ac069a1bb9bf4472dc1e64e2a6e3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 17 Jul 2016 13:46:05 +0300 Subject: DIRECTOR: Lingo: Fix 'intersects' operator parsing and added 'within' operator --- engines/director/lingo/tests/factory.lingo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/director/lingo/tests') diff --git a/engines/director/lingo/tests/factory.lingo b/engines/director/lingo/tests/factory.lingo index 5349b3476b..d458ba4bff 100644 --- a/engines/director/lingo/tests/factory.lingo +++ b/engines/director/lingo/tests/factory.lingo @@ -37,12 +37,12 @@ method mAtFrame dontpassevent set the castnum of sprite 14 to bcast set the LocV of sprite 14 to (startV-stepV) --- if sprite 14 intersects 10 and (startV-6) <= targetV then + if sprite 14 intersects 10 and (startV-6) <= targetV then set the castnum of sprite 14 to f16 set the perframehook to false me(hit) exit --- end if + end if if startV < targetV or bcast>g17 then set the perframehook to false set the locV of sprite 14 to 340 -- cgit v1.2.3