From 1d072dfdb5f3288276b27df4d12913c04940275a Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Thu, 27 Mar 2008 03:21:32 +0000 Subject: [PATCH] These checks are now redundant. --- code/client/cl_scrn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/client/cl_scrn.c b/code/client/cl_scrn.c index b7ab5297..d1594848 100644 --- a/code/client/cl_scrn.c +++ b/code/client/cl_scrn.c @@ -450,7 +450,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) { // if the menu is going to cover the entire screen, we // don't need to render anything under it - if ( uivm && !VM_Call( uivm, UI_IS_FULLSCREEN )) { + if ( !VM_Call( uivm, UI_IS_FULLSCREEN )) { switch( cls.state ) { default: Com_Error( ERR_FATAL, "SCR_DrawScreenField: bad cls.state" ); @@ -490,7 +490,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) { } // the menu draws next - if ( Key_GetCatcher( ) & KEYCATCH_UI && uivm ) { + if ( Key_GetCatcher( ) & KEYCATCH_UI ) { VM_Call( uivm, UI_REFRESH, cls.realtime ); }