hedgewars/uAIAmmoTests.pas
branchwebgl
changeset 8839 caa57115d7ea
parent 8833 c13ebed437cb
child 9127 e350500c4edb
--- a/hedgewars/uAIAmmoTests.pas	Tue Apr 02 23:43:39 2013 +0400
+++ b/hedgewars/uAIAmmoTests.pas	Wed Apr 03 00:03:46 2013 +0400
@@ -244,7 +244,7 @@
                     or (y < 0)
                     or (trunc(x) > LAND_WIDTH)
                     or (trunc(y) > LAND_HEIGHT)
-                    or not TestCollWithLand(trunc(x), trunc(y), 5)
+                    or (not TestCollWithLand(trunc(x), trunc(y), 5))
                     or (timer = 0)
                 end;
             EX:= trunc(x);