hedgewars/uAmmos.pas
changeset 6515 74a04089bb56
parent 6472 bced12412f94
child 6519 b0dc69bb1f54
--- a/hedgewars/uAmmos.pas	Wed Dec 07 17:55:23 2011 +0400
+++ b/hedgewars/uAmmos.pas	Wed Dec 07 11:35:03 2011 -0500
@@ -428,11 +428,10 @@
 for t:= 0 to Pred(TeamsCount) do
    with TeamsArray[t]^ do
       for i:= 0 to cMaxHHIndex do
-          if Hedgehogs[i].Gear <> nil then
-             begin
-             FillAmmoStore(Hedgehogs[i].Ammo, InitialCounts[Hedgehogs[i].AmmoStore]);
-             Hedgehogs[i].CurAmmoType:= amNothing
-             end;
+         begin
+         FillAmmoStore(Hedgehogs[i].Ammo, InitialCounts[Hedgehogs[i].AmmoStore]);
+         Hedgehogs[i].CurAmmoType:= amNothing
+         end;
 
 for a:= Low(TAmmoType) to High(TAmmoType) do
     if Ammoz[a].SkipTurns >= 10000 then dec(Ammoz[a].SkipTurns,10000)