Fix random icon not displaying

This commit is contained in:
NepDisk 2026-03-27 22:22:00 -04:00
parent fddcf9c2af
commit 2166bfa7c2

View file

@ -1732,7 +1732,7 @@ void Y_VoteDrawer(void)
if (Y_PlayerIDCanVote(i) && g_votes[i] != VOTE_NOT_PICKED) if (Y_PlayerIDCanVote(i) && g_votes[i] != VOTE_NOT_PICKED)
{ {
if (g_votes[i] >= ((votemax*3)+((votemax > 1) ? (votemax - 1) : 0)) && (i != g_pickedVote || voteendtic == -1)) if (g_votes[i] >= ((votemax*3)+((votemax > 1) ? (votemax - 1) : 0)) && (i != g_pickedVote || voteendtic == -1))
mapnum = -1; // randomlvl mapnum = NEXTMAP_INVALID; // randomlvl
else else
mapnum = g_voteLevels[g_votes[i]][0]; mapnum = g_voteLevels[g_votes[i]][0];