aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/client/cl_scrn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/cl_scrn.c b/code/client/cl_scrn.c
index b7ab529..d159484 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 );
}