hedgewars/uUtils.pas
changeset 7548 c7a21fc530de
parent 7547 6e9c5feb88eb
child 7565 00568d3054d0
--- a/hedgewars/uUtils.pas	Fri Aug 17 10:28:42 2012 -0400
+++ b/hedgewars/uUtils.pas	Fri Aug 17 10:39:23 2012 -0400
@@ -43,7 +43,7 @@
 function  StrToInt(s: shortstring): LongInt;
 function  FloatToStr(n: hwFloat): shortstring;
 
-function  DxDy2Angle(const _dY, _dX: hwFloat): GLfloat;
+function  DxDy2Angle(const _dY, _dX: hwFloat): GLfloat; inline;
 function  DxDy2Angle32(const _dY, _dX: hwFloat): LongInt;
 function  DxDy2AttackAngle(const _dY, _dX: hwFloat): LongInt;
 function  DxDy2AttackAnglef(const _dY, _dX: extended): LongInt;
@@ -182,7 +182,7 @@
 end;
 
 
-function DxDy2Angle(const _dY, _dX: hwFloat): GLfloat;
+function DxDy2Angle(const _dY, _dX: hwFloat): GLfloat; inline;
 var dY, dX: Extended;
 begin
 dY:= hwFloat2Float(_dY);