hedgewars/uGearsHedgehog.pas
changeset 7180 53ffc8853008
parent 7164 fad64b97947e
child 7194 d8e68cbca7ee
equal deleted inserted replaced
7176:fb4b0c6dfdbd 7180:53ffc8853008
   599 // Possibly needs to check shared clan ammo game flag once added.
   599 // Possibly needs to check shared clan ammo game flag once added.
   600 // On the other hand, no obvious reason that clan members shouldn't know what ammo another clan member picked up
   600 // On the other hand, no obvious reason that clan members shouldn't know what ammo another clan member picked up
   601                     if (not (HH^.Hedgehog^.Team^.ExtDriven 
   601                     if (not (HH^.Hedgehog^.Team^.ExtDriven 
   602                     or (HH^.Hedgehog^.BotLevel > 0)))
   602                     or (HH^.Hedgehog^.BotLevel > 0)))
   603                     or (HH^.Hedgehog^.Team^.Clan^.ClanIndex = LocalClan)
   603                     or (HH^.Hedgehog^.Team^.Clan^.ClanIndex = LocalClan)
   604                     or (GameType = gmtDemo)  then
   604                     or (GameType in [gmtDemo, gmtRecord])  then
   605                         begin
   605                         begin
   606                         s:= trammo[Ammoz[a].NameId] + ' (+' + IntToStr(Ammoz[a].NumberInCase) + ')';
   606                         s:= trammo[Ammoz[a].NameId] + ' (+' + IntToStr(Ammoz[a].NumberInCase) + ')';
   607                         AddCaption(s, HH^.Hedgehog^.Team^.Clan^.Color, capgrpAmmoinfo);
   607                         AddCaption(s, HH^.Hedgehog^.Team^.Clan^.Color, capgrpAmmoinfo);
   608 
   608 
   609                         // show ammo icon
   609                         // show ammo icon