mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-03 13:42:31 +00:00
Menus/Replay: do not draw border in non-green resolutions
The border draws over the buttons, which makes the menu practically unusable. Not drawing the border is the simplest thing I could do to fix this.
This commit is contained in:
parent
50781ded69
commit
e0583a19b3
1 changed files with 2 additions and 1 deletions
|
|
@ -472,7 +472,8 @@ void M_DrawMenuForeground(void)
|
|||
}
|
||||
|
||||
// draw non-green resolution border
|
||||
if ((vid.width % BASEVIDWIDTH != 0) || (vid.height % BASEVIDHEIGHT != 0))
|
||||
if (currentMenu != &PAUSE_PlaybackMenuDef && // this obscures replay menu and I want to put in minimal effort to fix that
|
||||
((vid.width % BASEVIDWIDTH != 0) || (vid.height % BASEVIDHEIGHT != 0)))
|
||||
{
|
||||
V_DrawFixedPatch(0, 0, FRACUNIT, 0, W_CachePatchName("WEIRDRES", PU_CACHE), NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue