hedgewars/HHHandlers.inc
changeset 2856 cc70797a0b75
parent 2854 7aac108149d9
child 2882 b9aceb3fe3d6
equal deleted inserted replaced
2855:7e6adeb57427 2856:cc70797a0b75
   312        posCaseAmmo: begin
   312        posCaseAmmo: begin
   313                     a:= TAmmoType(Gear^.State);
   313                     a:= TAmmoType(Gear^.State);
   314                     AddAmmo(PHedgehog(HH^.Hedgehog)^, a);
   314                     AddAmmo(PHedgehog(HH^.Hedgehog)^, a);
   315 // Possibly needs to check shared clan ammo game flag once added.
   315 // Possibly needs to check shared clan ammo game flag once added.
   316 // On the other hand, no obvious reason that clan members shouldn't know what ammo another clan member picked up
   316 // On the other hand, no obvious reason that clan members shouldn't know what ammo another clan member picked up
   317 AddFileLog(inttostr(PHedgehog(HH^.Hedgehog)^.Team^.Clan^.ClanIndex) + ' --------- ' + inttostr(LocalClan));
       
   318                     if (not (PHedgehog(HH^.Hedgehog)^.Team^.ExtDriven 
   317                     if (not (PHedgehog(HH^.Hedgehog)^.Team^.ExtDriven 
   319                       or (PHedgehog(HH^.Hedgehog)^.BotLevel > 0)))
   318                       or (PHedgehog(HH^.Hedgehog)^.BotLevel > 0)))
   320                     or (PHedgehog(HH^.Hedgehog)^.Team^.Clan^.ClanIndex = LocalClan)
   319                     or (PHedgehog(HH^.Hedgehog)^.Team^.Clan^.ClanIndex = LocalClan)
   321                     or (GameType = gmtDemo)  then
   320                     or (GameType = gmtDemo)  then
   322                        begin
   321                        begin