mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
* Fixed client binary dedicated server
* Revert 1286 as the checks are no longer redundant following above fix
This commit is contained in:
parent
7fe9a02d91
commit
b601941240
1 changed files with 5 additions and 5 deletions
|
@ -492,7 +492,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 ( !VM_Call( uivm, UI_IS_FULLSCREEN )) {
|
if ( uivm && !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" );
|
||||||
|
@ -536,7 +536,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// the menu draws next
|
// the menu draws next
|
||||||
if ( Key_GetCatcher( ) & KEYCATCH_UI ) {
|
if ( Key_GetCatcher( ) & KEYCATCH_UI && uivm ) {
|
||||||
VM_Call( uivm, UI_REFRESH, cls.realtime );
|
VM_Call( uivm, UI_REFRESH, cls.realtime );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -569,9 +569,9 @@ void SCR_UpdateScreen( void ) {
|
||||||
}
|
}
|
||||||
recursive = 1;
|
recursive = 1;
|
||||||
|
|
||||||
/* If there is no VM, there are also no rendering commands issued. Stop the renderer in
|
// If there is no VM, there are also no rendering commands issued. Stop the renderer in
|
||||||
* that case. */
|
// that case.
|
||||||
if(uivm)
|
if( uivm || com_dedicated->integer )
|
||||||
{
|
{
|
||||||
// if running in stereo, we need to draw the frame twice
|
// if running in stereo, we need to draw the frame twice
|
||||||
if ( cls.glconfig.stereoEnabled || Cvar_VariableIntegerValue("r_anaglyphMode")) {
|
if ( cls.glconfig.stereoEnabled || Cvar_VariableIntegerValue("r_anaglyphMode")) {
|
||||||
|
|
Loading…
Reference in a new issue