Fix oversight with inverted gametype check

This commit is contained in:
spherallic 2023-03-06 22:30:54 +01:00
parent 0ce82b0859
commit daa5dc8690

View file

@ -2638,7 +2638,7 @@ static void HU_DrawRankings(void)
UINT32 whiteplayer;
// draw the current gametype in the lower right
if (gametype >= 0 || gametype < gametypecount)
if (gametype >= 0 && gametype < gametypecount)
V_DrawString(4, splitscreen ? 184 : 192, 0, Gametype_Names[gametype]);
if (gametyperules & (GTR_TIMELIMIT|GTR_POINTLIMIT))