hedgewars/uMisc.pas
changeset 438 04bcc3fb127a
parent 433 9f8f22094c0e
child 488 4dee644f382d
--- a/hedgewars/uMisc.pas	Mon Feb 12 18:14:11 2007 +0000
+++ b/hedgewars/uMisc.pas	Mon Feb 12 21:57:29 2007 +0000
@@ -196,7 +196,7 @@
 if _dY.isNegative then dY:= - dY;
 dX:= _dX.QWordValue / $100000000;
 if _dX.isNegative then dX:= - dX;
-DxDy2AttackAngle:= trunc(arctan2(dY, dX) * MaxAngleDivPI) mod cMaxAngle
+DxDy2AttackAngle:= trunc(arctan2(dY, dX) * MaxAngleDivPI)
 end;
 
 procedure SetKB(n: Longword);