author | Wuzzy <Wuzzy2@mail.ru> |
Tue, 09 Jun 2020 06:21:21 +0200 | |
changeset 15615 | 5a949495ee29 |
parent 15614 | 250c778463f3 |
child 15616 | e4abca26f215 |
--- a/hedgewars/uAIAmmoTests.pas Tue Jun 09 05:51:39 2020 +0200 +++ b/hedgewars/uAIAmmoTests.pas Tue Jun 09 06:21:21 2020 +0200 @@ -1282,7 +1282,7 @@ dx:= (Targ.Point.X - x) * t; dy:= (Targ.Point.Y - y) * t; - ap.Angle:= DxDy2AttackAnglef(dx, -dy) + ap.Angle:= DxDy2AttackAnglef(dx, -dy); // Apply inaccuracy if (not cLaserSighting) then inc(ap.Angle, + AIrndSign(random((Level - 1) * 10)));