hedgewars/uTeams.pas
changeset 162 4822f6face35
parent 146 458f4f58c1b6
child 165 9b9144948668
equal deleted inserted replaced
161:d8870bbf960e 162:4822f6face35
   241 end;
   241 end;
   242 
   242 
   243 procedure ApplyAmmoChanges(var Hedgehog: THedgehog);
   243 procedure ApplyAmmoChanges(var Hedgehog: THedgehog);
   244 var s: shortstring;
   244 var s: shortstring;
   245 begin
   245 begin
       
   246 TargetPoint.X:= NoPointX;
       
   247 
   246 with Hedgehog do
   248 with Hedgehog do
   247      begin
   249      begin
   248      if Ammo[CurSlot, CurAmmo].Count = 0 then
   250      if Ammo[CurSlot, CurAmmo].Count = 0 then
   249         begin
   251         begin
   250         CurAmmo:= 0;
   252         CurAmmo:= 0;