Y_PlayerStandingsDrawer: Set a minimum y height to prevent overlap with the header text

This commit is contained in:
toaster 2023-05-11 23:08:26 +01:00
parent 27dc9a3006
commit 39682a241d

View file

@ -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 *) =
(demo.playback