Fix showing ROUND with invalid number for queueing a map during voting

This commit is contained in:
toaster 2023-04-18 09:56:14 +01:00
parent 9b0c82d5dc
commit c48283bd24

View file

@ -696,7 +696,7 @@ void ST_runTitleCard(void)
{ {
boolean run = !(paused || P_AutoPause()); boolean run = !(paused || P_AutoPause());
INT32 auxticker; INT32 auxticker;
boolean doroundicon = (marathonmode || roundqueue.size > 0); boolean doroundicon = (marathonmode || (roundqueue.size > 0 && roundqueue.position > 0));
if (!G_IsTitleCardAvailable()) if (!G_IsTitleCardAvailable())
return; return;
@ -881,7 +881,7 @@ void ST_drawTitleCard(void)
char *lvlttl = mapheaderinfo[gamemap-1]->lvlttl; char *lvlttl = mapheaderinfo[gamemap-1]->lvlttl;
char *zonttl = mapheaderinfo[gamemap-1]->zonttl; // SRB2kart char *zonttl = mapheaderinfo[gamemap-1]->zonttl; // SRB2kart
UINT8 actnum = mapheaderinfo[gamemap-1]->actnum; UINT8 actnum = mapheaderinfo[gamemap-1]->actnum;
boolean doroundicon = (marathonmode || roundqueue.size > 0); boolean doroundicon = (marathonmode || (roundqueue.size > 0 && roundqueue.position > 0));
INT32 acttimer; INT32 acttimer;
fixed_t actscale; fixed_t actscale;