mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Y_PlayerStandingsDrawer: Set a minimum y height to prevent overlap with the header text
This commit is contained in:
parent
27dc9a3006
commit
39682a241d
1 changed files with 9 additions and 1 deletions
|
|
@ -455,7 +455,15 @@ void Y_PlayerStandingsDrawer(y_data_t *standings, INT32 xoffset)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
y = returny = 106 - (heightcount * yspacing)/2;
|
y = 106 - (heightcount * yspacing)/2;
|
||||||
|
|
||||||
|
if (y < 70)
|
||||||
|
{
|
||||||
|
// One sanity check.
|
||||||
|
y = 70;
|
||||||
|
}
|
||||||
|
|
||||||
|
returny = y;
|
||||||
|
|
||||||
boolean (*_isHighlightedPlayer)(player_t *) =
|
boolean (*_isHighlightedPlayer)(player_t *) =
|
||||||
(demo.playback
|
(demo.playback
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue