Rankings tweaks

This commit is contained in:
Jaime Passos 2019-12-18 12:36:02 -03:00
parent 7807424633
commit aa619e1b34
2 changed files with 4 additions and 4 deletions

View File

@ -2111,7 +2111,7 @@ static void CL_ConnectToServer(boolean viams)
if (i != -1) if (i != -1)
{ {
UINT8 num = serverlist[i].info.gametype; UINT16 num = serverlist[i].info.gametype;
const char *gametypestr = NULL; const char *gametypestr = NULL;
CONS_Printf(M_GetText("Connecting to: %s\n"), serverlist[i].info.servername); CONS_Printf(M_GetText("Connecting to: %s\n"), serverlist[i].info.servername);
if (num < gametypecount) if (num < gametypecount)

View File

@ -3026,7 +3026,7 @@ static void HU_DrawRankings(void)
// draw the current gametype in the lower right // draw the current gametype in the lower right
HU_drawGametype(); HU_drawGametype();
if (gametype != GT_RACE && gametype != GT_COMPETITION && gametype != GT_COOP) if (!G_PlatformGametype())
{ {
if (cv_timelimit.value && timelimitintics > 0) if (cv_timelimit.value && timelimitintics > 0)
{ {
@ -3083,7 +3083,7 @@ static void HU_DrawRankings(void)
if (!playeringame[j]) if (!playeringame[j])
continue; continue;
if (gametype != GT_COOP && players[j].spectator) if (!G_PlatformGametype() && players[j].spectator)
continue; continue;
for (i = 0; i < MAXPLAYERS; i++) for (i = 0; i < MAXPLAYERS; i++)
@ -3091,7 +3091,7 @@ static void HU_DrawRankings(void)
if (!playeringame[i]) if (!playeringame[i])
continue; continue;
if (gametype != GT_COOP && players[i].spectator) if (!G_PlatformGametype() && players[i].spectator)
continue; continue;
if (gametype == GT_RACE) if (gametype == GT_RACE)