hedgewars/uStats.pas
changeset 13647 3d14950641a4
parent 12923 6deb29364723
child 13656 56a925256039
--- a/hedgewars/uStats.pas	Wed Aug 08 14:10:32 2018 +0200
+++ b/hedgewars/uStats.pas	Wed Aug 08 14:38:54 2018 +0200
@@ -162,7 +162,7 @@
         AddVoice(sndStupid, PreviousTeam^.voicepack);
         // Message for hurting itself only (not drowning)
         if (CurrentHedgehog^.stats.DamageGiven = CurrentHedgehog^.stats.StepDamageRecv) and (CurrentHedgehog^.stats.StepDamageRecv >= 1) then
-            AddCaption(FormatA(GetEventString(eidHurtSelf), s), cWhiteColor, capgrpMessage);
+            AddCaption(FormatA(GetEventString(eidHurtSelf), s), capcolDefault, capgrpMessage);
         end
 
     // Hog hurts, poisons or kills own team/clan member. Sacrifice is taken into account
@@ -205,7 +205,7 @@
     else if isTurnSkipped and (not PlacingHogs) then
         begin
         AddVoice(sndCoward, PreviousTeam^.voicepack);
-        AddCaption(FormatA(GetEventString(eidTurnSkipped), s), cWhiteColor, capgrpMessage);
+        AddCaption(FormatA(GetEventString(eidTurnSkipped), s), capcolDefault, capgrpMessage);
         end
     end;