hedgewars/uGearsHedgehog.pas
changeset 13647 3d14950641a4
parent 13624 525686876f98
child 13668 91d48cbae927
--- a/hedgewars/uGearsHedgehog.pas	Wed Aug 08 14:10:32 2018 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Wed Aug 08 14:38:54 2018 +0200
@@ -621,7 +621,7 @@
         if (Ammoz[a].Ammo.NumPerTurn >= MultiShootAttacks) and ((GameFlags and gfMultiWeapon) = 0) then
             begin
             s:= ansistring(inttostr(Ammoz[a].Ammo.NumPerTurn - MultiShootAttacks + 1));
-            AddCaption(formatA(trmsg[sidRemaining], s), cWhiteColor, capgrpAmmostate);
+            AddCaption(formatA(trmsg[sidRemaining], s), capcolDefault, capgrpAmmostate);
             end;
 
         if (Ammoz[a].Ammo.NumPerTurn >= MultiShootAttacks)
@@ -1262,7 +1262,7 @@
         begin
         Gear^.FlightTime:= 0;
         s:= ansistring(CurrentHedgehog^.Name);
-        AddCaption(FormatA(GetEventString(eidHomerun), s), cWhiteColor, capgrpMessage);
+        AddCaption(FormatA(GetEventString(eidHomerun), s), capcolDefault, capgrpMessage);
         PlaySound(sndHomerun)
         end;
     end
@@ -1304,7 +1304,7 @@
         if (GameFlags and gfInfAttack = 0) then
             begin
             s:= Hedgehog^.Name;
-            AddCaption(FormatA(GetEventString(eidTimeout), s), cWhiteColor, capgrpMessage);
+            AddCaption(FormatA(GetEventString(eidTimeout), s), capcolDefault, capgrpMessage);
             end;
         end;
     isCursorVisible:= false;
@@ -1473,9 +1473,9 @@
                 // Death message
                 s:= ansistring(Gear^.Hedgehog^.Name);
                 if Gear^.Hedgehog^.King then
-                    AddCaption(FormatA(GetEventString(eidKingDied), s), cWhiteColor, capgrpMessage)
+                    AddCaption(FormatA(GetEventString(eidKingDied), s), capcolDefault, capgrpMessage)
                 else
-                    AddCaption(FormatA(GetEventString(eidDied), s), cWhiteColor, capgrpMessage);
+                    AddCaption(FormatA(GetEventString(eidDied), s), capcolDefault, capgrpMessage);
                 end;
             end
         else
@@ -1485,7 +1485,7 @@
 
             // Gone message
             s:= ansistring(Gear^.Hedgehog^.Name);
-            AddCaption(FormatA(GetEventString(eidGone), s), cWhiteColor, capgrpMessage);
+            AddCaption(FormatA(GetEventString(eidGone), s), capcolDefault, capgrpMessage);
             end
         end;
     exit