From 5a891f3b0a1c512331309800c89a2439e7d1f62c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 9 Mar 2019 17:50:23 +0100 Subject: [PATCH] - fixed color of status screen text. --- wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs b/wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs index 15606fd789..04e28e6580 100644 --- a/wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs +++ b/wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs @@ -138,9 +138,7 @@ class DoomStatusScreen : StatusScreen 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. bool useGfx = TexMan.OkForLocalization(Kills, "$TXT_IMKILLS") && TexMan.OkForLocalization(Items, "$TXT_IMITEMS") @@ -148,6 +146,9 @@ class DoomStatusScreen : StatusScreen && TexMan.OkForLocalization(Timepic, "$TXT_IMTIME") && (!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; if (useGfx)