fix nocompat builds

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5093 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2017-04-18 16:58:17 +00:00
parent 96f4f0ac80
commit 40a52b3724

View file

@ -1381,7 +1381,6 @@ void M_Init (void)
void M_Draw (int uimenu) void M_Draw (int uimenu)
{ {
extern menu_t *topmenu;
qboolean stillactive = false; qboolean stillactive = false;
if (uimenu) if (uimenu)
@ -1427,11 +1426,12 @@ void M_Draw (int uimenu)
#endif #endif
#ifndef NOBUILTINMENUS #ifndef NOBUILTINMENUS
{extern menu_t *topmenu;
if (topmenu) if (topmenu)
{ {
M_Complex_Draw (); M_Complex_Draw ();
stillactive = true; stillactive = true;
} }}
#endif #endif
if (!stillactive) if (!stillactive)
Key_Dest_Remove(kdm_emenu); Key_Dest_Remove(kdm_emenu);