mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-02 16:45:36 +01:00
engine: client: empty current map name in CL_ClearState
This commit is contained in:
parent
13bf607031
commit
f42a174482
@ -1358,6 +1358,7 @@ void CL_ClearState( void )
|
||||
MSG_Clear( &cls.netchan.message );
|
||||
memset( &clgame.fade, 0, sizeof( clgame.fade ));
|
||||
memset( &clgame.shake, 0, sizeof( clgame.shake ));
|
||||
clgame.mapname[0] = '\0';
|
||||
Cvar_FullSet( "cl_background", "0", FCVAR_READ_ONLY );
|
||||
cl.maxclients = 1; // allow to drawing player in menu
|
||||
cl.mtime[0] = cl.mtime[1] = 1.0f; // because level starts from 1.0f second
|
||||
|
Loading…
Reference in New Issue
Block a user