increase sentry vision angle
authoralfadur
Tue, 30 Jun 2020 22:36:53 +0300
changeset 15661 255422cd8a44
parent 15660 5ce76c658c22
child 15662 41121e2f5c03
increase sentry vision angle
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Tue Jun 30 21:25:48 2020 +0300
+++ b/hedgewars/uGearsHandlersMess.pas	Tue Jun 30 22:36:53 2020 +0300
@@ -7237,7 +7237,7 @@
         (distX.isNegative = Sentry^.dX.isNegative)
         and (distX.Round > 24)
         and (distX.Round < 500)
-        and (hwAbs(distY) < hwAbs(distX))
+        and (hwAbs(distY) < hwAbs(distX * _1_5))
         and (TraceAttackPath(Sentry^.X, Sentry^.Y, targetX, targetY, _4, lfLandMask) <= 18);
 end;