Merge pull request #780 from devnexen/m_main_draw_fix

menu code unused var warning fix.
This commit is contained in:
Yamagi 2022-01-22 10:54:27 +01:00 committed by GitHub
commit 896bb48d36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -575,7 +575,6 @@ M_Main_Draw(void)
int ystart;
int xoffset;
int widest = -1;
int totalheight = 0;
char litname[80];
float scale = SCR_GetMenuScale();
char *names[] =
@ -596,8 +595,6 @@ M_Main_Draw(void)
{
widest = w;
}
totalheight += (h + 12);
}
ystart = (viddef.height / (2 * scale) - 110);