What about exact value?
authorunc0rr
Fri, 14 Feb 2014 13:55:13 +0400
changeset 10140 a846641d2b04
parent 10139 9046f69dae4c
child 10141 3be894730bd6
What about exact value?
hedgewars/uAIMisc.pas
--- 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;