# HG changeset patch # User unc0rr # Date 1392371713 -14400 # Node ID a846641d2b04300de38e29e83b29a14f2ab66d41 # Parent 9046f69dae4ca643997fcb14073dfda1edb1b18c What about exact value? diff -r 9046f69dae4c -r a846641d2b04 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;