mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-09 08:22:28 +00:00
Don't draw options menu entry above replay infobox
This commit is contained in:
parent
3dd4e4aac7
commit
746f13a999
1 changed files with 8 additions and 3 deletions
11
src/m_menu.c
11
src/m_menu.c
|
|
@ -5384,13 +5384,18 @@ static void M_DrawReplayHut(void)
|
|||
// Draw static menu items
|
||||
for (i = 0; i < replaylistitem; i++)
|
||||
{
|
||||
INT32 localy = y + currentMenu->menuitems[i].alphaKey;
|
||||
|
||||
if (localy < 65)
|
||||
continue;
|
||||
|
||||
if (i == itemOn)
|
||||
cursory = y + currentMenu->menuitems[i].alphaKey;
|
||||
cursory = localy;
|
||||
|
||||
if ((currentMenu->menuitems[i].status & IT_DISPLAY)==IT_STRING)
|
||||
V_DrawString(x, y + currentMenu->menuitems[i].alphaKey, 0, currentMenu->menuitems[i].text);
|
||||
V_DrawString(x, localy, 0, currentMenu->menuitems[i].text);
|
||||
else
|
||||
V_DrawString(x, y + currentMenu->menuitems[i].alphaKey, highlightflags, currentMenu->menuitems[i].text);
|
||||
V_DrawString(x, localy, highlightflags, currentMenu->menuitems[i].text);
|
||||
}
|
||||
|
||||
y += currentMenu->menuitems[currentMenu->numitems-1].alphaKey;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue