hedgewars/uAIAmmoTests.pas
changeset 7204 522f165cd2e7
parent 7200 744c8a5546c6
child 7206 ce46b56ae9f5
--- a/hedgewars/uAIAmmoTests.pas	Sat Jun 09 12:15:05 2012 +0200
+++ b/hedgewars/uAIAmmoTests.pas	Sat Jun 09 17:05:16 2012 +0400
@@ -652,7 +652,7 @@
 
 dmg:= sqrt(sqr(Targ.X - x)+sqr(Targ.Y-y));
 t:= 1.5 / dmg;
-dmg:= dmg * 0.33333333;
+dmg:= dmg * 0.025; // div 40
 Vx:= (Targ.X - x) * t;
 Vy:= (Targ.Y - y) * t;
 ap.Angle:= DxDy2AttackAnglef(Vx, -Vy);