mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-22 03:41:19 +00:00
Merge pull request #780 from devnexen/m_main_draw_fix
menu code unused var warning fix.
This commit is contained in:
commit
896bb48d36
1 changed files with 4 additions and 7 deletions
|
@ -575,7 +575,6 @@ M_Main_Draw(void)
|
||||||
int ystart;
|
int ystart;
|
||||||
int xoffset;
|
int xoffset;
|
||||||
int widest = -1;
|
int widest = -1;
|
||||||
int totalheight = 0;
|
|
||||||
char litname[80];
|
char litname[80];
|
||||||
float scale = SCR_GetMenuScale();
|
float scale = SCR_GetMenuScale();
|
||||||
char *names[] =
|
char *names[] =
|
||||||
|
@ -596,8 +595,6 @@ M_Main_Draw(void)
|
||||||
{
|
{
|
||||||
widest = w;
|
widest = w;
|
||||||
}
|
}
|
||||||
|
|
||||||
totalheight += (h + 12);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ystart = (viddef.height / (2 * scale) - 110);
|
ystart = (viddef.height / (2 * scale) - 110);
|
||||||
|
|
Loading…
Reference in a new issue