hedgewars/uAIAmmoTests.pas
branchwebgl
changeset 9136 78f087fd3e5b
parent 9127 e350500c4edb
child 9160 fc46e75f6b72
--- a/hedgewars/uAIAmmoTests.pas	Tue Jun 04 23:48:44 2013 +0200
+++ b/hedgewars/uAIAmmoTests.pas	Tue Jun 04 23:56:17 2013 +0200
@@ -244,7 +244,7 @@
                     or (y < 0)
                     or (trunc(x) > LAND_WIDTH)
                     or (trunc(y) > LAND_HEIGHT)
-                    or not TestCollExcludingObjects(trunc(x), trunc(y), 5)
+                    or (not TestCollExcludingObjects(trunc(x), trunc(y), 5))
                     or (timer = 0)
                 end;
             EX:= trunc(x);