hedgewars/uAIMisc.pas
changeset 7651 4cd85eebc54b
parent 7471 ce5d3e39361e
child 7716 95117607b81a
--- a/hedgewars/uAIMisc.pas	Sun Sep 02 10:11:24 2012 -0400
+++ b/hedgewars/uAIMisc.pas	Sun Sep 02 11:44:59 2012 -0400
@@ -429,7 +429,7 @@
 
         if dmg > 0 then
             begin
-            if Flags and afTrackFall <> 0 then
+            if (Flags and afTrackFall <> 0) and (dmg < abs(Score)) then
                 begin
                 dX:= 0.005 * dmg + 0.01;
                 dY:= dX;