--- a/hedgewars/HHHandlers.inc Tue Jul 03 14:47:33 2007 +0000
+++ b/hedgewars/HHHandlers.inc Tue Jul 03 16:09:04 2007 +0000
@@ -115,13 +115,13 @@
a:= TAmmoType(Gear^.State);
AddAmmo(PHedgehog(HH^.Hedgehog), a);
s:= trammo[Ammoz[a].NameId] + '(+' + IntToStr(Ammoz[a].NumberInCase) + ')';
- AddCaption(s, PHedgehog(HH^.Hedgehog)^.Team^.Color, capgrpAmmoinfo);
+ AddCaption(s, PHedgehog(HH^.Hedgehog)^.Team^.Clan^.Color, capgrpAmmoinfo);
end;
posCaseHealth: begin
inc(HH^.Health, Gear^.Health);
str(Gear^.Health, s);
s:= '+' + s;
- AddCaption(s, PHedgehog(HH^.Hedgehog)^.Team^.Color, capgrpAmmoinfo);
+ AddCaption(s, PHedgehog(HH^.Hedgehog)^.Team^.Clan^.Color, capgrpAmmoinfo);
RenderHealth(PHedgehog(HH^.Hedgehog)^);
RecountTeamHealth(PHedgehog(HH^.Hedgehog)^.Team)
end;