mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-17 23:21:05 +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
37bf55543f
commit
cdc5f92baf
1 changed files with 2 additions and 3 deletions
|
@ -1647,7 +1647,7 @@ static void HU_DrawRankings(void)
|
|||
{
|
||||
patch_t *p;
|
||||
playersort_t tab[MAXPLAYERS];
|
||||
INT32 i, j, scorelines, hilicol, numplayersingame = 0, lowestposition = 2;
|
||||
INT32 i, j, scorelines, hilicol, numplayersingame = 0;
|
||||
boolean completed[MAXPLAYERS];
|
||||
UINT32 whiteplayer = MAXPLAYERS;
|
||||
|
||||
|
@ -1759,6 +1759,7 @@ static void HU_DrawRankings(void)
|
|||
|
||||
for (j = 0; j < numplayersingame; j++)
|
||||
{
|
||||
UINT8 lowestposition = MAXPLAYERS;
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (!playeringame[i] || players[i].spectator || completed[i])
|
||||
|
@ -1788,8 +1789,6 @@ static void HU_DrawRankings(void)
|
|||
tab[scorelines].count = players[i].marescore;
|
||||
|
||||
scorelines++;
|
||||
|
||||
lowestposition += 2;
|
||||
}
|
||||
|
||||
if (scorelines > 20)
|
||||
|
|
Loading…
Reference in a new issue