From 74e215458b0632c862eb90c2f514f54cf331df79 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 31 Jan 2020 17:31:24 +0200 Subject: Fixing IS_AREA_OCCUPIED command --- src/control/Script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 2b3fdbc0..8a6094ee 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -6734,7 +6734,7 @@ int8 CRunningScript::ProcessCommandsFrom800To899(int32 command) } int16 total; CWorld::FindObjectsIntersectingCube(CVector(infX, infY, infZ), CVector(supX, supY, supZ), &total, 2, nil, - ScriptParams[7], ScriptParams[8], ScriptParams[9], ScriptParams[10], ScriptParams[11]); + !!ScriptParams[6], !!ScriptParams[7], !!ScriptParams[8], !!ScriptParams[9], !!ScriptParams[10]); UpdateCompareFlag(total > 0); return 0; } -- cgit v1.2.3