mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Apply to TAB rankings too
This commit is contained in:
parent
95251808d4
commit
d6e5be72e0
1 changed files with 6 additions and 10 deletions
16
src/k_kart.c
16
src/k_kart.c
|
|
@ -7097,19 +7097,15 @@ void HU_DrawTabRankings(INT32 x, INT32 y, playersort_t *tab, INT32 scorelines, I
|
||||||
continue; //ignore them.
|
continue; //ignore them.
|
||||||
|
|
||||||
if (netgame // don't draw it offline
|
if (netgame // don't draw it offline
|
||||||
&& tab[i].num != serverplayer)
|
&& tab[i].num != serverplayer)
|
||||||
HU_drawPing(x + ((i < 8) ? -19 : rightoffset + 13), y+2, playerpingtable[tab[i].num], false);
|
HU_drawPing(x + ((i < 8) ? -19 : rightoffset + 13), y+2, playerpingtable[tab[i].num], false);
|
||||||
|
|
||||||
if (scorelines > 8)
|
STRBUFCPY(strtime, tab[i].name);
|
||||||
strlcpy(strtime, tab[i].name, 6);
|
|
||||||
else
|
|
||||||
STRBUFCPY(strtime, tab[i].name);
|
|
||||||
|
|
||||||
V_DrawString(x + 20, y,
|
if (scorelines > 8)
|
||||||
((tab[i].num == whiteplayer)
|
V_DrawThinString(x + 20, y, ((tab[i].num == whiteplayer) ? hilicol : 0)|V_ALLOWLOWERCASE|V_6WIDTHSPACE, strtime);
|
||||||
? hilicol|V_ALLOWLOWERCASE
|
else
|
||||||
: V_ALLOWLOWERCASE),
|
V_DrawString(x + 20, y, ((tab[i].num == whiteplayer) ? hilicol : 0)|V_ALLOWLOWERCASE, strtime);
|
||||||
strtime);
|
|
||||||
|
|
||||||
if (players[tab[i].num].mo->color)
|
if (players[tab[i].num].mo->color)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue