mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-17 01:21:18 +00:00
Fix oversight with inverted gametype check
This commit is contained in:
parent
0ce82b0859
commit
daa5dc8690
1 changed files with 1 additions and 1 deletions
|
@ -2638,7 +2638,7 @@ static void HU_DrawRankings(void)
|
||||||
UINT32 whiteplayer;
|
UINT32 whiteplayer;
|
||||||
|
|
||||||
// draw the current gametype in the lower right
|
// 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]);
|
V_DrawString(4, splitscreen ? 184 : 192, 0, Gametype_Names[gametype]);
|
||||||
|
|
||||||
if (gametyperules & (GTR_TIMELIMIT|GTR_POINTLIMIT))
|
if (gametyperules & (GTR_TIMELIMIT|GTR_POINTLIMIT))
|
||||||
|
|
Loading…
Reference in a new issue