diff -r 75197d981acb -r 7773a1c92e1b hedgewars/uTouch.pas --- a/hedgewars/uTouch.pas Thu Jun 14 00:10:06 2012 +0200 +++ b/hedgewars/uTouch.pas Thu Jun 14 00:21:23 2012 +0200 @@ -632,7 +632,6 @@ var index: Longword; //uRenderCoordScaleX, uRenderCoordScaleY: Longword; - density: Single; begin buttonsDown:= 0; @@ -640,13 +639,7 @@ for index := 0 to High(fingers) do fingers[index].id := nilFingerId; -{$IFDEF ANDROID} - density:= Android_JNI_getDensity(); -{$ELSE} - density:= 1.0; -{$ENDIF} - - rectSize:= round(baseRectSize * density); + rectSize:= round(baseRectSize * uMobile.getScreenDPI); halfRectSize:= rectSize shl 1; end;