hedgewars/HHHandlers.inc
changeset 3196 336d6fc3325c
parent 3174 17e2602dfdc5
child 3236 4ab3917d7d44
equal deleted inserted replaced
3195:c6f58cff5ffc 3196:336d6fc3325c
   325                     if (not (PHedgehog(HH^.Hedgehog)^.Team^.ExtDriven 
   325                     if (not (PHedgehog(HH^.Hedgehog)^.Team^.ExtDriven 
   326                       or (PHedgehog(HH^.Hedgehog)^.BotLevel > 0)))
   326                       or (PHedgehog(HH^.Hedgehog)^.BotLevel > 0)))
   327                       or (PHedgehog(HH^.Hedgehog)^.Team^.Clan^.ClanIndex = LocalClan)
   327                       or (PHedgehog(HH^.Hedgehog)^.Team^.Clan^.ClanIndex = LocalClan)
   328                       or (GameType = gmtDemo)  then
   328                       or (GameType = gmtDemo)  then
   329                         begin
   329                         begin
   330                         s:= trammo[Ammoz[a].NameId] + '(+' + IntToStr(Ammoz[a].NumberInCase) + ')';
   330                         s:= trammo[Ammoz[a].NameId] + ' (+' + IntToStr(Ammoz[a].NumberInCase) + ')';
   331                         AddCaption(s, PHedgehog(HH^.Hedgehog)^.Team^.Clan^.Color, capgrpAmmoinfo);
   331                         AddCaption(s, PHedgehog(HH^.Hedgehog)^.Team^.Clan^.Color, capgrpAmmoinfo);
   332 
   332 
   333                         // show ammo icon
   333                         // show ammo icon
   334                         vga:= AddVisualGear(hwRound(Gear^.X), hwRound(Gear^.Y), vgtAmmo);
   334                         vga:= AddVisualGear(hwRound(Gear^.X), hwRound(Gear^.Y), vgtAmmo);
   335                         if vga <> nil then
   335                         if vga <> nil then