From 4c9d1b7425b4a7a9659b1b87f86642e8206eff12 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 15 Apr 2024 14:53:14 +0100 Subject: [PATCH] Tab rankings: Add behaviour for Round Star - show ??? instead of round number --- src/hu_stuff.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 643c1828a..52659ba48 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -2426,7 +2426,15 @@ static void HU_DrawRankings(void) V_DrawString(4, 188, hilicol|V_SNAPTOBOTTOM|V_SNAPTOLEFT, gametypes[gametype]->name); // Left hand side - if (grandprixinfo.gp == true && grandprixinfo.eventmode != GPEVENT_NONE) + const boolean roundqueueinaction = (roundqueue.size > 0 && roundqueue.position > 0); + + if (roundqueueinaction + && roundqueue.entries[roundqueue.position-1].overridden == true) + { + V_DrawCenteredString(64, 8, 0, "ROUND"); + V_DrawCenteredString(64, 16, hilicol, "???"); + } + else if (grandprixinfo.gp == true && grandprixinfo.eventmode != GPEVENT_NONE) { const char *roundstr = NULL; V_DrawCenteredString(64, 8, 0, "ROUND"); @@ -2441,7 +2449,7 @@ static void HU_DrawRankings(void) } V_DrawCenteredString(64, 16, hilicol, roundstr); } - else if (roundqueue.size > 0) + else if (roundqueueinaction) { V_DrawCenteredString(64, 8, 0, "ROUND"); V_DrawCenteredString(64, 16, hilicol, va("%d", roundqueue.roundnum));