r1286 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Mar 26 23:21:33 EDT 2008


Author: thilo
Date: 2008-03-26 23:21:32 -0400 (Wed, 26 Mar 2008)
New Revision: 1286

Modified:
   trunk/code/client/cl_scrn.c
Log:
These checks are now redundant.


Modified: trunk/code/client/cl_scrn.c
===================================================================
--- trunk/code/client/cl_scrn.c	2008-03-27 03:18:32 UTC (rev 1285)
+++ trunk/code/client/cl_scrn.c	2008-03-27 03:21:32 UTC (rev 1286)
@@ -450,7 +450,7 @@
 
 	// 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 @@
 	}
 
 	// the menu draws next
-	if ( Key_GetCatcher( ) & KEYCATCH_UI && uivm ) {
+	if ( Key_GetCatcher( ) & KEYCATCH_UI ) {
 		VM_Call( uivm, UI_REFRESH, cls.realtime );
 	}
 




More information about the quake3-commits mailing list