hedgewars/uWorld.pas
changeset 3663 8c28abf427f5
parent 3641 98319a621dc8
child 3680 aaf832c6fbd7
child 3686 617d00c850b0
--- 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}