hedgewars/uAIAmmoTests.pas
changeset 6453 11c578d30bd3
parent 5933 97c240202986
child 6474 42e9773eedfd
--- a/hedgewars/uAIAmmoTests.pas	Sun Nov 27 19:34:08 2011 +0300
+++ b/hedgewars/uAIAmmoTests.pas	Sun Nov 27 23:13:22 2011 +0300
@@ -470,7 +470,7 @@
             EY:= hwRound(y);
         until TestCollExcludingMe(Me, EX, EY, 5) or (EY > cWaterLine);
 
-        if (EY < cWaterLine) and not dY.isNegative then
+        if (EY < cWaterLine) and (not dY.isNegative) then
             begin
             value:= RateExplosion(Me, EX, EY, 91);
             if (value = 0) then