- fixed color of status screen text.

This commit is contained in:
Christoph Oelckers 2019-03-09 17:50:23 +01:00
parent 784e0347c0
commit 5a891f3b0a
1 changed files with 4 additions and 3 deletions

View File

@ -138,9 +138,7 @@ 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")
&& TexMan.OkForLocalization(Items, "$TXT_IMITEMS") && TexMan.OkForLocalization(Items, "$TXT_IMITEMS")
@ -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)