- make the switch between game and generic fonts automatic by adding a key value to the language table
This commit is contained in:
parent
1090c4b345
commit
c0b322c51a
13 changed files with 108 additions and 88 deletions
|
|
@ -858,7 +858,7 @@ void D_Display ()
|
|||
screen->DrawTexture (tex, x, 4, DTA_CleanNoMove, true, TAG_DONE);
|
||||
if (paused && multiplayer)
|
||||
{
|
||||
FFont *font = generic_hud? NewSmallFont : SmallFont;
|
||||
FFont *font = generic_ui? NewSmallFont : SmallFont;
|
||||
pstring << ' ' << players[paused - 1].userinfo.GetName();
|
||||
screen->DrawText(font, CR_RED,
|
||||
(screen->GetWidth() - font->StringWidth(pstring)*CleanXfac) / 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue