- 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

View file

@ -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)