# HG changeset patch
# User nemo
# Date 1390884140 18000
# Node ID 2f7b7992258fd8f6e189f9e107ab9141d61de683
# Parent  0af84e5cbd4de35fcc992be0fa27771653f683ed
unbreak build.  didn't test changes

diff -r 0af84e5cbd4d -r 2f7b7992258f hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Tue Jan 28 00:22:49 2014 +0400
+++ b/hedgewars/uGearsRender.pas	Mon Jan 27 23:42:20 2014 -0500
@@ -966,7 +966,7 @@
                 tx := round(max(((-cScreenWidth + 16) / zoom) + SpritesData[sprFinger].Width div 2, min(((cScreenWidth - 16) / zoom) - SpritesData[sprFinger].Width div 2, tx)));
                 ty := round(max(cScreenHeight div 2 - ((cScreenHeight - 16) / (zoom)) + SpritesData[sprFinger].Height div 2, min(cScreenHeight div 2 - ((-cScreenHeight + SpritesData[sprFinger].Height) / (zoom)) - SpritesData[sprFinger].Width div 2 - 96, ty)));
 
-                dAngle := DxDy2Angle(ty - oy, tx - ox) + 90;
+                dAngle := DxDy2Angle(int2hwfloat(ty - oy), int2hwfloat(tx - ox)) + 90;
 
                 DrawSpriteRotatedF(sprFinger, tx, ty, GameTicks div 32 mod 16, 1, dAngle);
                 end;
diff -r 0af84e5cbd4d -r 2f7b7992258f hedgewars/uLocale.pas
--- a/hedgewars/uLocale.pas	Tue Jan 28 00:22:49 2014 +0400
+++ b/hedgewars/uLocale.pas	Mon Jan 27 23:42:20 2014 -0500
@@ -36,7 +36,7 @@
 {$ENDIF}
 
 implementation
-uses uRandom, uVariables, uDebug, uPhysFSLayer, sysutils;
+uses uRandom, uVariables, uDebug, uPhysFSLayer, sysutils, uUtils;
 
 var trevt: array[TEventId] of array [0..Pred(MAX_EVENT_STRINGS)] of PChar;
     trevt_n: array[TEventId] of integer;