M_GetConditionString: Do not add a suffix for UC_MAPENCORE - that condition already has a guaranteed prefix saying the same thing.

This commit is contained in:
toaster 2023-10-06 18:50:20 +01:00
parent 8f1bea71de
commit 14b6c0f275

View file

@ -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;
}