changeset 2971 | c65929077646 |
parent 2970 | 011075f93746 |
child 2999 | 30c4d62cd0c3 |
--- a/hedgewars/uWorld.pas Tue Mar 09 02:02:22 2010 +0000 +++ b/hedgewars/uWorld.pas Tue Mar 09 02:48:27 2010 +0000 @@ -201,7 +201,11 @@ Ammo:= GetAmmoByNum(LocalAmmo); Slot:= 0; Pos:= -1; -if Ammo = nil then exit; +if Ammo = nil then + begin + bShowAmmoMenu:= false; + exit + end; SlotsNum:= 0; x:= (cScreenWidth shr 1) - 210 + AMxShift; y:= cScreenHeight - 40;