hedgewars/uGearsHandlersMess.pas
changeset 13647 3d14950641a4
parent 13645 cb0191394133
child 13656 56a925256039
--- a/hedgewars/uGearsHandlersMess.pas	Wed Aug 08 14:10:32 2018 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Wed Aug 08 14:38:54 2018 +0200
@@ -1653,7 +1653,7 @@
         AllInactive := false;
         if Gear^.Timer = 0 then
             begin
-            AddCaption(GetEventString(eidRoundStart), cWhiteColor, capgrpGameState);
+            AddCaption(GetEventString(eidRoundStart), capcolDefault, capgrpGameState);
             end
         end;
     gtATFinishGame:
@@ -3393,7 +3393,7 @@
                         end
                 end;
         s:= ansistring(Gear^.Hedgehog^.Name);
-        AddCaption(FormatA(GetEventString(eidKamikaze), s), cWhiteColor, capgrpMessage);
+        AddCaption(FormatA(GetEventString(eidKamikaze), s), capcolDefault, capgrpMessage);
         uStats.HedgehogSacrificed(Gear^.Hedgehog);
         AfterAttack;
         HHGear^.Message:= HHGear^.Message or gmDestroy;
@@ -4150,7 +4150,7 @@
             dec(Gear^.Health)
             end;
         s:= ansistring(inttostr(Gear^.Health));
-        AddCaption(formatA(trmsg[sidRemaining], s), cWhiteColor, capgrpAmmostate);
+        AddCaption(formatA(trmsg[sidRemaining], s), capcolDefault, capgrpAmmostate);
         end;
 
     if (HHGear <> nil) and ((HHGear^.Message and gmLJump) <> 0) and ((Gear^.State and gsttmpFlag) = 0) then
@@ -4479,7 +4479,7 @@
             dec(Gear^.FlightTime)
             end;
         s:= ansistring(inttostr(Gear^.FlightTime));
-        AddCaption(formatA(trmsg[sidRemaining], s), cWhiteColor, capgrpAmmostate);
+        AddCaption(formatA(trmsg[sidRemaining], s), capcolDefault, capgrpAmmostate);
         end;
 
     if HHGear^.Message and (gmUp or gmPrecise or gmLeft or gmRight) <> 0 then
@@ -5890,7 +5890,7 @@
                 RecountTeamHealth(resgear^.Hedgehog^.Team);
                 resgear^.Hedgehog^.Effects[heResurrected]:= 1;
                 s:= ansistring(resgear^.Hedgehog^.Name);
-                AddCaption(FormatA(GetEventString(eidResurrected), s), cWhiteColor, capgrpMessage);
+                AddCaption(FormatA(GetEventString(eidResurrected), s), capcolDefault, capgrpMessage);
                 // only make hat-less hedgehogs look like zombies, preserve existing hats
 
                 if resgear^.Hedgehog^.Hat = 'NoHat' then
@@ -6116,7 +6116,7 @@
             begin
             RestoreHog(HH);
             s:= ansistring(HH^.Name);
-            AddCaption(FormatA(GetEventString(eidTimeTravelEnd), s), cWhiteColor, capgrpMessage)
+            AddCaption(FormatA(GetEventString(eidTimeTravelEnd), s), capcolDefault, capgrpMessage)
             end
         end;