--- a/hedgewars/uTeams.pas Fri Feb 07 00:47:51 2014 +0400
+++ b/hedgewars/uTeams.pas Thu Feb 06 22:03:53 2014 +0100
@@ -103,7 +103,7 @@
else
AddVoice(sndVictory, Teams[0]^.voicepack);
- AddCaption(Str2PChar(s), cWhiteColor, capgrpGameState);
+ AddCaption(s, cWhiteColor, capgrpGameState);
SendStat(siGameResult, s);
AddGear(0, 0, gtATFinishGame, 0, _0, _0, 3000)
end;
@@ -334,7 +334,7 @@
end;
if cHedgehogTurnTime < 1000000 then
ReadyTimeLeft:= cReadyDelay;
- AddCaption(FormatPChar(trmsg[sidReady], Str2PChar(CurrentTeam^.TeamName)), cWhiteColor, capgrpGameState)
+ AddCaption(Format(shortstring(trmsg[sidReady]), CurrentTeam^.TeamName), cWhiteColor, capgrpGameState)
end
else
begin