From 2ab046fc306dffcb2e7642f138362a101028e6de Mon Sep 17 00:00:00 2001 From: toaster Date: Tue, 6 Jun 2023 15:33:46 +0100 Subject: [PATCH] M_GetConditionString: Hide Cup for UCRP_PODIUMCUP if not unlocked --- src/m_cond.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/m_cond.c b/src/m_cond.c index 728185978..e6dd45699 100644 --- a/src/m_cond.c +++ b/src/m_cond.c @@ -1322,7 +1322,10 @@ static const char *M_GetConditionString(condition_t *cn) { if (cup->id != cn->requirement) continue; - return va("%s%s %s CUP", completetype, orbetter, cup->name); + return va("%s%s %s CUP", + completetype, orbetter, + (M_CupLocked(cup) ? "???" : cup->name) + ); } return va("INVALID CUP CONDITION \"%d:%d\"", cn->type, cn->requirement); }