diff -r e98ac205ba29 -r 65222383bf7d hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Wed Mar 31 11:34:58 2010 +0000 +++ b/hedgewars/uWorld.pas Wed Mar 31 11:59:32 2010 +0000 @@ -846,17 +846,17 @@ if isCursorVisible then begin if not bShowAmmoMenu then + begin with CurrentHedgehog^ do if (Gear^.State and gstHHChooseTarget) <> 0 then begin i:= Ammo^[CurSlot, CurAmmo].Pos; with Ammoz[Ammo^[CurSlot, CurAmmo].AmmoType] do if PosCount > 1 then - DrawSprite(PosSprite, CursorPoint.X - (SpritesData[PosSprite].Width shr 1), - cScreenHeight - CursorPoint.Y - (SpritesData[PosSprite].Height shr 1), - i); + DrawSprite(PosSprite, CursorPoint.X - (SpritesData[PosSprite].Width shr 1), cScreenHeight - CursorPoint.Y - (SpritesData[PosSprite].Height shr 1),i); end; - DrawSprite(sprArrow, CursorPoint.X, cScreenHeight - CursorPoint.Y, (RealTicks shr 6) mod 8) + DrawSprite(sprArrow, CursorPoint.X, cScreenHeight - CursorPoint.Y, (RealTicks shr 6) mod 8) + end end; glDisable(GL_TEXTURE_2D);