hedgewars/uAmmos.pas
changeset 4234 60920aeb1606
parent 4148 eaff5615f976
child 4330 1e03ca5d4311
equal deleted inserted replaced
4233:b4ad20bfe310 4234:60920aeb1606
   233             dec(Count);
   233             dec(Count);
   234             if Count = 0 then
   234             if Count = 0 then
   235                 begin
   235                 begin
   236                 PackAmmo(Ammo, Ammoz[AmmoType].Slot);
   236                 PackAmmo(Ammo, Ammoz[AmmoType].Slot);
   237                 //SwitchNotHeldAmmo(Hedgehog);
   237                 //SwitchNotHeldAmmo(Hedgehog);
       
   238                 ShowCrossHair:= false;
   238                 CurAmmoType:= amNothing
   239                 CurAmmoType:= amNothing
   239                 end
   240                 end
   240             end
   241             end
   241     end;
   242     end;
   242 perfExt_AmmoUpdate;
   243 perfExt_AmmoUpdate;