# HG changeset patch # User Wuzzy # Date 1533726144 -7200 # Node ID 039ec6dd304b7803e6ae4f89cdfeb8f88d3211dd # Parent 28e4a9db4690ad45918f95cea47d538164d9e1de Fix slightly misplaced ammo count in ammo menu if count > 9 diff -r 28e4a9db4690 -r 039ec6dd304b hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Wed Aug 08 12:05:19 2018 +0200 +++ b/hedgewars/uWorld.pas Wed Aug 08 13:02:24 2018 +0200 @@ -737,7 +737,7 @@ Ammoz[Ammo^[Slot, Pos].AmmoType].NameTex); if Ammo^[Slot, Pos].Count < AMMO_INFINITE then DrawTexture(AmmoRect.x + AmmoRect.w - 20 - (CountTexz[Ammo^[Slot, Pos].Count]^.w), - AmmoRect.y + AmmoRect.h - BORDERSIZE - (AMslotSize shr 1) - (CountTexz[Ammo^[Slot, Pos].Count]^.w shr 1), + AmmoRect.y + AmmoRect.h - BORDERSIZE - (AMslotSize shr 1) - (CountTexz[Ammo^[Slot, Pos].Count]^.h shr 1), CountTexz[Ammo^[Slot, Pos].Count]); if bSelected and (Ammoz[Ammo^[Slot, Pos].AmmoType].SkipTurns - CurrentTeam^.Clan^.TurnNumber < 0) then