mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix another bug I introduced, this time on the Tab HUD. I shouldn't have tried to be too clever with lowestposition...
This commit is contained in:
parent
58346ef123
commit
e608da587a
1 changed files with 2 additions and 3 deletions
|
|
@ -1647,7 +1647,7 @@ static void HU_DrawRankings(void)
|
||||||
{
|
{
|
||||||
patch_t *p;
|
patch_t *p;
|
||||||
playersort_t tab[MAXPLAYERS];
|
playersort_t tab[MAXPLAYERS];
|
||||||
INT32 i, j, scorelines, hilicol, numplayersingame = 0, lowestposition = 2;
|
INT32 i, j, scorelines, hilicol, numplayersingame = 0;
|
||||||
boolean completed[MAXPLAYERS];
|
boolean completed[MAXPLAYERS];
|
||||||
UINT32 whiteplayer = MAXPLAYERS;
|
UINT32 whiteplayer = MAXPLAYERS;
|
||||||
|
|
||||||
|
|
@ -1759,6 +1759,7 @@ static void HU_DrawRankings(void)
|
||||||
|
|
||||||
for (j = 0; j < numplayersingame; j++)
|
for (j = 0; j < numplayersingame; j++)
|
||||||
{
|
{
|
||||||
|
UINT8 lowestposition = MAXPLAYERS;
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
{
|
{
|
||||||
if (!playeringame[i] || players[i].spectator || completed[i])
|
if (!playeringame[i] || players[i].spectator || completed[i])
|
||||||
|
|
@ -1788,8 +1789,6 @@ static void HU_DrawRankings(void)
|
||||||
tab[scorelines].count = players[i].marescore;
|
tab[scorelines].count = players[i].marescore;
|
||||||
|
|
||||||
scorelines++;
|
scorelines++;
|
||||||
|
|
||||||
lowestposition += 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scorelines > 20)
|
if (scorelines > 20)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue