mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Y_PlayerStandingsDrawer: Fix showing invalid data increase text on tab rankings after an SP intermission
This commit is contained in:
parent
671919b6ec
commit
6ae7f1f64f
1 changed files with 4 additions and 4 deletions
|
|
@ -449,7 +449,7 @@ void Y_PlayerStandingsDrawer(y_data_t *standings, INT32 xoffset)
|
||||||
|
|
||||||
patch_t *resbar = W_CachePatchName("R_RESBAR", PU_PATCH); // Results bars for players
|
patch_t *resbar = W_CachePatchName("R_RESBAR", PU_PATCH); // Results bars for players
|
||||||
|
|
||||||
if (drawping || data.rankingsmode != 0)
|
if (drawping || standings->rankingsmode != 0)
|
||||||
{
|
{
|
||||||
inwardshim = 8;
|
inwardshim = 8;
|
||||||
}
|
}
|
||||||
|
|
@ -604,15 +604,15 @@ void Y_PlayerStandingsDrawer(y_data_t *standings, INT32 xoffset)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (data.rankingsmode != 0)
|
else if (standings->rankingsmode != 0)
|
||||||
{
|
{
|
||||||
char *increasenum = NULL;
|
char *increasenum = NULL;
|
||||||
|
|
||||||
if (data.increase[pnum] != INT16_MIN)
|
if (standings->increase[pnum] != INT16_MIN)
|
||||||
{
|
{
|
||||||
increasenum = va(
|
increasenum = va(
|
||||||
"(%d)",
|
"(%d)",
|
||||||
data.increase[pnum]
|
standings->increase[pnum]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue