don't need VM_UI defined.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1334 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-09-14 04:56:20 +00:00
parent f402c86fe0
commit d9e16591c7
2 changed files with 6 additions and 2 deletions

View File

@ -322,9 +322,9 @@ void SWR_NewMap (void)
R_WipeDecals(); R_WipeDecals();
R_InitSkyBox(); R_InitSkyBox();
#ifdef VM_UI
UI_Reset(); UI_Reset();
#endif
TP_NewMap(); TP_NewMap();
} }

View File

@ -79,7 +79,11 @@ void SWSCR_UpdateScreen (void)
if (!scr_initialized || !con_initialized) if (!scr_initialized || !con_initialized)
return; // not initialized yet return; // not initialized yet
#ifdef VM_UI
uimenu = UI_MenuState(); uimenu = UI_MenuState();
#else
uimenu = 0;
#endif
// //
// check for vid changes // check for vid changes