mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Mixed D&C fixes for HU_DrawTeamTabRankings
This commit is contained in:
parent
6a87980afd
commit
a607372283
1 changed files with 2 additions and 3 deletions
|
|
@ -2407,6 +2407,8 @@ void HU_DrawTeamTabRankings(playersort_t *tab, INT32 whiteplayer)
|
||||||
INT32 i,x,y;
|
INT32 i,x,y;
|
||||||
INT32 redplayers = 0, blueplayers = 0;
|
INT32 redplayers = 0, blueplayers = 0;
|
||||||
boolean smol = false;
|
boolean smol = false;
|
||||||
|
const UINT8 *colormap;
|
||||||
|
char name[MAXPLAYERNAME+1];
|
||||||
|
|
||||||
// before we draw, we must count how many players are in each team. It makes an additional loop, but we need to know if we have to draw a big or a small ranking.
|
// before we draw, we must count how many players are in each team. It makes an additional loop, but we need to know if we have to draw a big or a small ranking.
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
|
|
@ -2446,9 +2448,6 @@ void HU_DrawTeamTabRankings(playersort_t *tab, INT32 whiteplayer)
|
||||||
V_DrawFill(1, 26, 318, 1, 0); //And a horizontal line to make a T.
|
V_DrawFill(1, 26, 318, 1, 0); //And a horizontal line to make a T.
|
||||||
V_DrawFill(1, 180, 318, 1, 0); //And a horizontal line near the bottom.
|
V_DrawFill(1, 180, 318, 1, 0); //And a horizontal line near the bottom.
|
||||||
|
|
||||||
const UINT8 *colormap;
|
|
||||||
char name[MAXPLAYERNAME+1];
|
|
||||||
|
|
||||||
i=0, redplayers=0, blueplayers=0;
|
i=0, redplayers=0, blueplayers=0;
|
||||||
|
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue