hedgewars/uTeams.pas
changeset 13647 3d14950641a4
parent 13602 f7cbf7d8298d
child 13651 67d8f75f048d
--- a/hedgewars/uTeams.pas	Wed Aug 08 14:10:32 2018 +0200
+++ b/hedgewars/uTeams.pas	Wed Aug 08 14:38:54 2018 +0200
@@ -82,7 +82,7 @@
     begin
     if AliveCount = 0 then
         begin // draw
-        AddCaption(GetEventString(eidRoundDraw), cWhiteColor, capgrpGameState);
+        AddCaption(GetEventString(eidRoundDraw), capcolDefault, capgrpGameState);
         if SendGameResultOn then
             SendStat(siGameResult, shortstring(trmsg[sidDraw]));
         AddGear(0, 0, gtATFinishGame, 0, _0, _0, 3000);
@@ -96,7 +96,7 @@
                 s:= ansistring(Teams[0]^.TeamName);
                 // Victory caption is randomly selected
                 cap:= FormatA(GetEventString(eidRoundWin), s);
-                AddCaption(cap, cWhiteColor, capgrpGameState);
+                AddCaption(cap, capcolDefault, capgrpGameState);
                 s:= FormatA(trmsg[sidWinner], s);
                 end
             else // clan with at least 2 teams wins
@@ -117,7 +117,7 @@
 
                 // The winner caption is the same as the stats message and not randomized
                 cap:= s;
-                AddCaption(cap, cWhiteColor, capgrpGameState);
+                AddCaption(cap, capcolDefault, capgrpGameState);
                 // TODO (maybe): Show victory animation/captions per-team instead of all winners at once?
                 end;
 
@@ -385,7 +385,7 @@
     if cHedgehogTurnTime < 1000000 then
         ReadyTimeLeft:= cReadyDelay;
     s:= ansistring(CurrentTeam^.TeamName);
-    AddCaption(FormatA(trmsg[sidReady], s), cWhiteColor, capgrpGameState)
+    AddCaption(FormatA(trmsg[sidReady], s), capcolDefault, capgrpGameState)
     end
 else
     begin