From b63246ccaf2df0ab1f769b84a678e46eb8fa4e8e Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 8 May 2023 15:07:12 +0100 Subject: [PATCH] Fix erroneous case if there wasn't a special stage in the cup but gamedata->everseenspecial was true --- src/y_inter.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/y_inter.c b/src/y_inter.c index a0438e2cf..49684b744 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -225,11 +225,6 @@ static void Y_CalculateMatchData(UINT8 rankingsmode, void (*comparison)(INT32)) data.headerstring[sizeof data.headerstring - 1] = '\0'; - if (gamedata->everseenspecial == true) - { - data.showrank = true; - } - else { // See also G_GetNextMap data.showrank = false; @@ -239,7 +234,8 @@ static void Y_CalculateMatchData(UINT8 rankingsmode, void (*comparison)(INT32)) && roundqueue.entries[roundqueue.size - 1].rankrestricted == true ) { - if (roundqueue.position == roundqueue.size) + if (gamedata->everseenspecial == true + || roundqueue.position == roundqueue.size) { data.showrank = true; }