branch | hedgeroid |
changeset 5824 | 2e5835130d9a |
parent 5777 | 600b64455337 |
child 5974 | 5bd84514856f |
--- a/hedgewars/uAmmos.pas Fri Sep 09 04:39:17 2011 +0200 +++ b/hedgewars/uAmmos.pas Fri Sep 09 05:15:45 2011 +0200 @@ -215,7 +215,7 @@ FillAmmoStore(hhammo, ammos); CurWeapon:= GetAmmoEntry(Hedgehog); with Hedgehog, CurWeapon^ do - if Count = 0 then + if (Count = 0) or (AmmoType = amNothing) then begin PackAmmo(Ammo, Ammoz[AmmoType].Slot); CurAmmoType:= amNothing