mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
Fix issues with the level platter in nonstandard resolutions.
This commit is contained in:
parent
c0cc1471e5
commit
4798f85382
1 changed files with 2 additions and 2 deletions
|
@ -4425,14 +4425,14 @@ static void M_DrawLevelPlatterMenu(void)
|
||||||
V_DrawPatchFill(W_CachePatchName("SRB2BACK", PU_CACHE));
|
V_DrawPatchFill(W_CachePatchName("SRB2BACK", PU_CACHE));
|
||||||
|
|
||||||
// finds row at top of the screen
|
// finds row at top of the screen
|
||||||
while (y > 0)
|
while (y > -8)
|
||||||
{
|
{
|
||||||
iter = ((iter == 0) ? levelselect.numrows-1 : iter-1);
|
iter = ((iter == 0) ? levelselect.numrows-1 : iter-1);
|
||||||
y -= lsvseperation(iter);
|
y -= lsvseperation(iter);
|
||||||
}
|
}
|
||||||
|
|
||||||
// draw from top to bottom
|
// draw from top to bottom
|
||||||
while (y < 200)
|
while (y < (vid.height/vid.dupy))
|
||||||
{
|
{
|
||||||
M_DrawLevelPlatterRow(iter, y);
|
M_DrawLevelPlatterRow(iter, y);
|
||||||
y += lsvseperation(iter);
|
y += lsvseperation(iter);
|
||||||
|
|
Loading…
Reference in a new issue