hedgewars/uAIMisc.pas
changeset 15377 09fc16926855
parent 14785 b3fa6a19fc25
child 15387 381c828865e7
--- a/hedgewars/uAIMisc.pas	Sun Aug 25 23:43:46 2019 +0300
+++ b/hedgewars/uAIMisc.pas	Mon Aug 26 12:36:07 2019 +0200
@@ -799,7 +799,7 @@
                         begin
                         dead:= true;
                         Targets.reset:= true;
-                        if dX < 0.035 then
+                        if gdX < 0.035 then
                             begin
                             subrate:= RealRateExplosion(Me, round(pX), round(pY), 61, afErasesLand or afTrackFall);
                             if abs(subrate) > 2000 then inc(Rate,subrate div 1024)