hedgewars/uWorld.pas
changeset 3629 86212d2b116a
parent 3611 ed00aa2b339e
child 3638 33ee433749ba
--- a/hedgewars/uWorld.pas	Wed Jul 07 03:16:12 2010 +0200
+++ b/hedgewars/uWorld.pas	Thu Jul 08 02:23:10 2010 +0200
@@ -355,12 +355,17 @@
             RenderWeaponTooltip(amSel)
             end;
             
-        {$IFNDEF IPHONEOS}
+{$IFDEF IPHONEOS}
+        DrawTexture(cScreenWidth div 2 - (AMWidth - 10) + AMxShift, AMyOffset - 25, Ammoz[Ammo^[Slot, Pos].AmmoType].NameTex);
+
+        if Ammo^[Slot, Pos].Count < AMMO_INFINITE then
+            DrawTexture(cScreenWidth div 2 + AMxOffset - 45, AMyOffset - 25, CountTexz[Ammo^[Slot, Pos].Count]);
+{$ELSE}
         DrawTexture(cScreenWidth div 2 - (AMWidth - 10) + AMxShift, cScreenHeight - AMyOffset - 25, Ammoz[Ammo^[Slot, Pos].AmmoType].NameTex);
 
         if Ammo^[Slot, Pos].Count < AMMO_INFINITE then
             DrawTexture(cScreenWidth div 2 + AMxOffset - 45, cScreenHeight - AMyOffset - 25, CountTexz[Ammo^[Slot, Pos].Count]);
-        {$ENDIF}
+{$ENDIF}
 
         if bSelected and (Ammoz[Ammo^[Slot, Pos].AmmoType].SkipTurns - CurrentTeam^.Clan^.TurnNumber < 0) then
             begin