mirror of
https://github.com/ioquake/ioq3.git
synced 2025-02-23 20:11:18 +00:00
These checks are now redundant.
This commit is contained in:
parent
fe1e02e457
commit
1d072dfdb5
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue