hedgewars/uAmmos.pas
changeset 2176 fc082baf448c
parent 2145 fa43619eb3e7
child 2221 ef52dae4130b
equal deleted inserted replaced
2175:9e64d9f1bcab 2176:fc082baf448c
   234 	ApplyAngleBounds(Hedgehog, Ammo^[CurSlot, CurAmmo].AmmoType);
   234 	ApplyAngleBounds(Hedgehog, Ammo^[CurSlot, CurAmmo].AmmoType);
   235 
   235 
   236 	with Ammo^[CurSlot, CurAmmo] do
   236 	with Ammo^[CurSlot, CurAmmo] do
   237 		begin
   237 		begin
   238 		s:= trammo[Ammoz[AmmoType].NameId];
   238 		s:= trammo[Ammoz[AmmoType].NameId];
   239 		if Count <> AMMO_INFINITE then
   239 		if (Count <> AMMO_INFINITE) and not (Hedgehog.Team^.ExtDriven or (Hedgehog.BotLevel > 0)) then
   240 			s:= s + ' (' + IntToStr(Count) + ')';
   240 			s:= s + ' (' + IntToStr(Count) + ')';
   241 		if (Propz and ammoprop_Timerable) <> 0 then
   241 		if (Propz and ammoprop_Timerable) <> 0 then
   242 			s:= s + ', ' + inttostr(Timer div 1000) + ' ' + trammo[sidSeconds];
   242 			s:= s + ', ' + inttostr(Timer div 1000) + ' ' + trammo[sidSeconds];
   243 		AddCaption(s, Team^.Clan^.Color, capgrpAmmoinfo);
   243 		AddCaption(s, Team^.Clan^.Color, capgrpAmmoinfo);
   244 		if (Propz and ammoprop_NeedTarget) <> 0
   244 		if (Propz and ammoprop_NeedTarget) <> 0