- localize 'By'

This commit is contained in:
Christoph Oelckers 2019-03-19 01:23:54 +01:00 committed by drfrag
parent f57ebacae6
commit 34ac0f0985

View file

@ -909,7 +909,7 @@ void D_Display ()
{
FTexture *tex;
int x;
FString pstring = "By ";
FString pstring = GStrings("TXT_BY");
tex = TexMan(gameinfo.PauseSign);
x = (SCREENWIDTH - tex->GetScaledWidth() * CleanXfac)/2 +
@ -917,7 +917,7 @@ void D_Display ()
screen->DrawTexture (tex, x, 4, DTA_CleanNoMove, true, TAG_DONE);
if (paused && multiplayer)
{
pstring += players[paused - 1].userinfo.GetName();
pstring << ' ' << players[paused - 1].userinfo.GetName();
screen->DrawText(SmallFont, CR_RED,
(screen->GetWidth() - SmallFont->StringWidth(pstring)*CleanXfac) / 2,
(tex->GetScaledHeight() * CleanYfac) + 4, pstring, DTA_CleanNoMove, true, TAG_DONE);