aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/tests
diff options
context:
space:
mode:
authorEugene Sandulenko2016-07-17 13:46:05 +0300
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commit9172820158e9ac069a1bb9bf4472dc1e64e2a6e3 (patch)
tree1d585ab4c8e46da6b1487a38cec1e0679d60a3cd /engines/director/lingo/tests
parentd53ff7b18018d70f5633da4552164bf5a78f5d5a (diff)
downloadscummvm-rg350-9172820158e9ac069a1bb9bf4472dc1e64e2a6e3.tar.gz
scummvm-rg350-9172820158e9ac069a1bb9bf4472dc1e64e2a6e3.tar.bz2
scummvm-rg350-9172820158e9ac069a1bb9bf4472dc1e64e2a6e3.zip
DIRECTOR: Lingo: Fix 'intersects' operator parsing and added 'within' operator
Diffstat (limited to 'engines/director/lingo/tests')
-rw-r--r--engines/director/lingo/tests/factory.lingo4
1 files changed, 2 insertions, 2 deletions
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