# HG changeset patch # User nemo # Date 1252464077 0 # Node ID f980f40e83f57aba190fab5a70d6859948afb47e # Parent d4d545da9dbe4556975a2dd676376fa43ecdde15 oops. forgot this one diff -r d4d545da9dbe -r f980f40e83f5 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Wed Sep 09 01:55:37 2009 +0000 +++ b/hedgewars/uWorld.pas Wed Sep 09 02:41:17 2009 +0000 @@ -123,7 +123,7 @@ dec(y, 33); DrawSprite(sprAMSlotName, x, y, 0); for i:= cMaxSlotIndex downto 0 do - if (Ammo^[i, 0].Count > 0) then + if ((i = 0) and (Ammo^[i, 1].Count > 0)) or ((i <> 0) and (Ammo^[i, 0].Count > 0)) then begin if (cScreenHeight - CursorPoint.Y >= y - 33) and (cScreenHeight - CursorPoint.Y < y) then Slot:= i; dec(y, 33);