# HG changeset patch # User nemo # Date 1289276919 18000 # Node ID b39ca9d087a2698f036d98907002c83e4b4dd86e # Parent ce9e2b05e9c17f8afa72eb48cc0a3fa1da5f03cf compensate a bit for the reduction in power by increasing target height, avoids bouncing off terrain. diff -r ce9e2b05e9c1 -r b39ca9d087a2 hedgewars/uAIAmmoTests.pas --- a/hedgewars/uAIAmmoTests.pas Mon Nov 08 22:26:44 2010 -0500 +++ b/hedgewars/uAIAmmoTests.pas Mon Nov 08 23:28:39 2010 -0500 @@ -362,7 +362,7 @@ repeat inc(TestTime, 1000); Vx:= (int2hwFloat(Targ.X) - Me^.X) / int2hwFloat(TestTime + tDelta); - Vy:= cGravity * ((TestTime + tDelta) div 2) - (int2hwFloat(Targ.Y-125) - Me^.Y) / int2hwFloat(TestTime + tDelta); + Vy:= cGravity * ((TestTime + tDelta) div 2) - (int2hwFloat(Targ.Y-200) - Me^.Y) / int2hwFloat(TestTime + tDelta); r:= Distance(Vx, Vy); if not (r > _1) then begin