mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 21:50:59 +01:00
engine: client: drop loading plaque on second signon, remove servercount check
This commit is contained in:
parent
95ed044fee
commit
d46d62bf03
@ -195,8 +195,6 @@ void CL_CheckClientState( void )
|
||||
Netchan_ReportFlow( &cls.netchan );
|
||||
|
||||
Con_DPrintf( "client connected at %.2f sec\n", Sys_DoubleTime() - cls.timestart );
|
||||
if(( cls.demoplayback || cls.disable_servercount != cl.servercount ) && cl.video_prepped )
|
||||
SCR_EndLoadingPlaque(); // get rid of loading plaque
|
||||
}
|
||||
}
|
||||
|
||||
@ -234,6 +232,7 @@ void CL_SignonReply( void )
|
||||
Mem_PrintStats();
|
||||
break;
|
||||
case 2:
|
||||
SCR_EndLoadingPlaque();
|
||||
if( cl.proxy_redirect && !cls.spectator )
|
||||
CL_Disconnect();
|
||||
cl.proxy_redirect = false;
|
||||
|
@ -418,7 +418,6 @@ void SCR_BeginLoadingPlaque( qboolean is_background )
|
||||
cls.draw_changelevel = !is_background;
|
||||
SCR_UpdateScreen();
|
||||
cls.disable_screen = host.realtime;
|
||||
cls.disable_servercount = cl.servercount;
|
||||
cl.background = is_background; // set right state before svc_serverdata is came
|
||||
|
||||
if( !Host_IsDedicated() )
|
||||
|
@ -527,9 +527,6 @@ typedef struct
|
||||
float disable_screen; // showing loading plaque between levels
|
||||
// or changing rendering dlls
|
||||
// if time gets > 30 seconds ahead, break it
|
||||
int disable_servercount; // when we receive a frame and cl.servercount
|
||||
// > cls.disable_servercount, clear disable_screen
|
||||
|
||||
qboolean draw_changelevel; // draw changelevel image 'Loading...'
|
||||
|
||||
keydest_t key_dest;
|
||||
|
Loading…
Reference in New Issue
Block a user