mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- fixed color of status screen text.
This commit is contained in:
parent
784e0347c0
commit
5a891f3b0a
1 changed files with 4 additions and 3 deletions
|
@ -138,8 +138,6 @@ class DoomStatusScreen : StatusScreen
|
||||||
|
|
||||||
drawLF();
|
drawLF();
|
||||||
|
|
||||||
// Fixme: This should try to retrieve the color from the intermission font and use the best approximation here
|
|
||||||
let tcolor = Font.CR_RED;
|
|
||||||
|
|
||||||
// For visual consistency, only use the patches here if all are present.
|
// For visual consistency, only use the patches here if all are present.
|
||||||
bool useGfx = TexMan.OkForLocalization(Kills, "$TXT_IMKILLS")
|
bool useGfx = TexMan.OkForLocalization(Kills, "$TXT_IMKILLS")
|
||||||
|
@ -148,6 +146,9 @@ class DoomStatusScreen : StatusScreen
|
||||||
&& TexMan.OkForLocalization(Timepic, "$TXT_IMTIME")
|
&& TexMan.OkForLocalization(Timepic, "$TXT_IMTIME")
|
||||||
&& (!wbs.partime || TexMan.OkForLocalization(Par, "$TXT_IMPAR"));
|
&& (!wbs.partime || TexMan.OkForLocalization(Par, "$TXT_IMPAR"));
|
||||||
|
|
||||||
|
// Fixme: This should try to retrieve the color from the intermission font and use the best approximation here
|
||||||
|
let tcolor = useGfx? Font.CR_UNTRANSLATED : Font.CR_RED;
|
||||||
|
|
||||||
Font printFont;
|
Font printFont;
|
||||||
|
|
||||||
if (useGfx)
|
if (useGfx)
|
||||||
|
|
Loading…
Reference in a new issue