hedgewars/uAmmos.pas
changeset 5167 7b515d0945b1
parent 5136 948da1e50205
child 5272 a85d331ab5bb
equal deleted inserted replaced
5166:d1eb1560b4d5 5167:7b515d0945b1
   230                 //SwitchNotHeldAmmo(Hedgehog);
   230                 //SwitchNotHeldAmmo(Hedgehog);
   231                 CurAmmoType:= amNothing
   231                 CurAmmoType:= amNothing
   232                 end
   232                 end
   233             end
   233             end
   234     end;
   234     end;
   235 perfExt_AmmoUpdate;
   235 uMobile.AmmoUpdate;
   236 end;
   236 end;
   237 
   237 
   238 function  HHHasAmmo(var Hedgehog: THedgehog; Ammo: TAmmoType): boolean;
   238 function  HHHasAmmo(var Hedgehog: THedgehog; Ammo: TAmmoType): boolean;
   239 var slot, ami: LongInt;
   239 var slot, ami: LongInt;
   240 begin
   240 begin