hedgewars/HHHandlers.inc
changeset 549 4278a80140a8
parent 545 f527450337c1
child 553 5478386d935f
--- 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;