Browse Source

engine: don't update screen when we're only in transition from STATE_RUNFRAME to something else

pull/2/head
Alibek Omarov 5 years ago
parent
commit
e424112020
  1. 2
      engine/client/cl_scrn.c

2
engine/client/cl_scrn.c

@ -352,7 +352,7 @@ void SCR_BeginLoadingPlaque( qboolean is_background )
if( CL_IsInMenu( ) && !cls.changedemo && !is_background ) if( CL_IsInMenu( ) && !cls.changedemo && !is_background )
{ {
UI_SetActiveMenu( false ); UI_SetActiveMenu( false );
if( cls.state == ca_disconnected ) if( cls.state == ca_disconnected && !(GameState->curstate == STATE_RUNFRAME && GameState->nextstate != STATE_RUNFRAME) )
SCR_UpdateScreen(); SCR_UpdateScreen();
} }

Loading…
Cancel
Save