--- a/hedgewars/uGearsHedgehog.pas Sun Oct 07 18:37:30 2018 +0200
+++ b/hedgewars/uGearsHedgehog.pas Tue Oct 09 09:02:39 2018 -0400
@@ -51,7 +51,7 @@
t:= 0;
while (TeamsArray[t] <> CurrentTeam) do inc(t);
- AddChatString(#2 + Format(trmsg[sidAutoSkip], CurrentTeam^.TeamName));
+ AddChatString(#2 + Format(shortstring(trmsg[sidAutoSkip]), CurrentTeam^.TeamName));
ParseCommand('/skip', true)
end;
@@ -584,7 +584,7 @@
speech^.Text:= SpeechText;
speech^.Hedgehog:= Gear^.Hedgehog;
speech^.FrameTicks:= SpeechType;
- AddChatString(#9+Format(trmsg[sidChatHog], Gear^.Hedgehog^.Name, SpeechText));
+ AddChatString(#9+Format(shortstring(trmsg[sidChatHog]), Gear^.Hedgehog^.Name, SpeechText));
end;
SpeechText:= ''
end;