hedgewars/uAIAmmoTests.pas
changeset 7790 040fc517fece
parent 7789 838d2e06c377
child 7873 266fe9f1e5a9
--- a/hedgewars/uAIAmmoTests.pas	Mon Oct 22 21:24:38 2012 +0400
+++ b/hedgewars/uAIAmmoTests.pas	Mon Oct 22 23:35:12 2012 +0400
@@ -287,7 +287,6 @@
             begin
             ap.Angle:= DxDy2AttackAnglef(Vx, Vy) + AIrndSign(random(Level));
             ap.Power:= trunc(sqrt(r) * cMaxPower) + AIrndSign(random(Level) * 15);
-            ap.Time:= TestTime;
             ap.ExplR:= 100;
             ap.ExplX:= EX;
             ap.ExplY:= EY;
@@ -496,6 +495,7 @@
 begin
     TestMortar:= BadTurn;
     ap.ExplR:= 0;
+
     meX:= hwFloat2Float(Me^.X);
     meY:= hwFloat2Float(Me^.Y);