hedgewars/uAIMisc.pas
changeset 10140 a846641d2b04
parent 10108 c68cf030eded
child 10164 0570d4b22187
--- a/hedgewars/uAIMisc.pas	Fri Feb 14 13:48:14 2014 +0400
+++ b/hedgewars/uAIMisc.pas	Fri Feb 14 13:55:13 2014 +0400
@@ -525,7 +525,7 @@
                     dX:= (0.005 * dmg + 0.01) / Density;
                     dY:= dX;
                     if (Kind = gtExplosives) and (State and gstTmpFlag = 0) and
-                       (((abs(dY) > 0.15) and (abs(dX) < 0.02)) or
+                       (((abs(dY) >= 0.15) and (abs(dX) < 0.02)) or
                         ((abs(dY) < 0.15) and (abs(dX) < 0.15))) then
                         dX:= 0;