These checks are now redundant.

This commit is contained in:
Thilo Schulz 2008-03-27 03:21:32 +00:00
parent fe1e02e457
commit 1d072dfdb5

View file

@ -450,7 +450,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
// if the menu is going to cover the entire screen, we // if the menu is going to cover the entire screen, we
// don't need to render anything under it // 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 ) { switch( cls.state ) {
default: default:
Com_Error( ERR_FATAL, "SCR_DrawScreenField: bad cls.state" ); Com_Error( ERR_FATAL, "SCR_DrawScreenField: bad cls.state" );
@ -490,7 +490,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
} }
// the menu draws next // the menu draws next
if ( Key_GetCatcher( ) & KEYCATCH_UI && uivm ) { if ( Key_GetCatcher( ) & KEYCATCH_UI ) {
VM_Call( uivm, UI_REFRESH, cls.realtime ); VM_Call( uivm, UI_REFRESH, cls.realtime );
} }