changeset 7620 | fa3bc79dc0b8 |
parent 7501 | 1763dc3bc9b7 |
child 7671 | 43f38923bc6e |
--- a/hedgewars/uAIAmmoTests.pas Wed Aug 29 11:35:38 2012 +0400 +++ b/hedgewars/uAIAmmoTests.pas Wed Aug 29 12:48:27 2012 +0200 @@ -612,10 +612,7 @@ y:= hwFloat2Float(Me^.Y); if Abs(trunc(x) - Targ.X) + Abs(trunc(y) - Targ.Y) < 40 then - begin - TestDesertEagle:= BadTurn; exit(BadTurn); - end; t:= 2 / sqrt(sqr(Targ.X - x)+sqr(Targ.Y-y)); Vx:= (Targ.X - x) * t;