hedgewars/uAIAmmoTests.pas
changeset 141 ac3680be1f4b
parent 136 89970b70b076
child 143 3dacbd83209b
--- a/hedgewars/uAIAmmoTests.pas	Sat Sep 09 16:59:10 2006 +0000
+++ b/hedgewars/uAIAmmoTests.pas	Sat Sep 09 17:59:25 2006 +0000
@@ -112,7 +112,7 @@
      if Result <= Score then
         begin
         r:= sqrt(r);
-        Angle:= DxDy2AttackAngle(Vx, Vy) + rndSign(random((Level - 1) * 8) + 1);
+        Angle:= DxDy2AttackAngle(Vx, Vy) + rndSign(random((Level - 1) * 8));
         Power:= round(r * cMaxPower) - random((Level - 1) * 15 + 1);
         ExplR:= 100;
         ExplX:= EX;