From 14b6c0f275c6a31fd5f0d4ba2393cf4f54419873 Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 6 Oct 2023 18:50:20 +0100 Subject: [PATCH] M_GetConditionString: Do not add a suffix for UC_MAPENCORE - that condition already has a guaranteed prefix saying the same thing. --- src/m_cond.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/m_cond.c b/src/m_cond.c index f4de68b5b..a15f4815f 100644 --- a/src/m_cond.c +++ b/src/m_cond.c @@ -1478,11 +1478,10 @@ static const char *M_GetConditionString(condition_t *cn) else if (cn->type == UC_MAPSPBATTACK) work = "conquer"; - work = va("%s%s %s%s", + work = va("%s%s %s", prefix, work, - title, - (cn->type == UC_MAPENCORE) ? " in Encore Mode" : ""); + title); Z_Free(title); return work; }