From 54ddf724668f126a7bdb6c2144184bba2062c44a Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 28 Sep 2023 12:29:44 +0100 Subject: [PATCH] Challenges Menu: Do not show any conditiontext underlay for empty tile spots --- src/k_menudraw.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/k_menudraw.c b/src/k_menudraw.c index ed285ea73..d94a586c7 100644 --- a/src/k_menudraw.c +++ b/src/k_menudraw.c @@ -6088,6 +6088,7 @@ void M_DrawChallenges(void) } // Do underlay for everything else early so the bottom of the reticule doesn't get shaded over. + if (challengesmenu.currentunlock < MAXUNLOCKABLES) { y = 120; @@ -6191,14 +6192,10 @@ challengedesc: { str = "???"; //M_CreateSecretMenuOption(str); } - } - else - { - str = "---"; - } - offset = V_LSTitleLowStringWidth(str, 0) / 2; - V_DrawLSTitleLowString(BASEVIDWIDTH/2 - offset, y+6, 0, str); + offset = V_LSTitleLowStringWidth(str, 0) / 2; + V_DrawLSTitleLowString(BASEVIDWIDTH/2 - offset, y+6, 0, str); + } } // Percentage