--- a/hedgewars/uWorld.pas Thu Jul 22 03:08:17 2010 +0200
+++ b/hedgewars/uWorld.pas Thu Jul 22 12:47:32 2010 +0200
@@ -379,11 +379,10 @@
end
else
FreeWeaponTooltip;
+if (WeaponTooltipTex <> nil) and (AMxShift = 0) then
{$IFDEF IPHONEOS}
-if (WeaponTooltipTex <> nil) and (AMxShift = 0) then
ShowWeaponTooltip(x - WeaponTooltipTex^.w - 3, AMyOffset - 1);
{$ELSE}
-if (WeaponTooltipTex <> nil) and (AMxShift = 0) then
ShowWeaponTooltip(x - WeaponTooltipTex^.w - 3, min(y + 1, cScreenHeight - WeaponTooltipTex^.h - 40));
{$ENDIF}