Use capgrpMessage2 for eidHomerun so it doesn't collide with death msgs
authorWuzzy <Wuzzy2@mail.ru>
Fri, 24 May 2019 22:26:47 +0200
changeset 15045 9f6e3be10e96
parent 15044 76003912e31d
child 15046 0730c68fdf97
Use capgrpMessage2 for eidHomerun so it doesn't collide with death msgs
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Fri May 24 22:17:36 2019 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Fri May 24 22:26:47 2019 +0200
@@ -1267,7 +1267,7 @@
         begin
         Gear^.FlightTime:= 0;
         s:= ansistring(CurrentHedgehog^.Name);
-        AddCaption(FormatA(GetEventString(eidHomerun), s), capcolDefault, capgrpMessage);
+        AddCaption(FormatA(GetEventString(eidHomerun), s), capcolDefault, capgrpMessage2);
         PlaySound(sndHomerun)
         end;
     end