mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00:00
engine: client: put internal vgui shutdown AFTER HUD_Shutdown, to simulate default, external behavior
This commit is contained in:
parent
ae94a6aeba
commit
c2a24fbbce
@ -3898,9 +3898,6 @@ void CL_UnloadProgs( void )
|
|||||||
{
|
{
|
||||||
if( !clgame.hInstance ) return;
|
if( !clgame.hInstance ) return;
|
||||||
|
|
||||||
if( GI->internal_vgui_support )
|
|
||||||
VGui_Shutdown();
|
|
||||||
|
|
||||||
CL_FreeEdicts();
|
CL_FreeEdicts();
|
||||||
CL_FreeTempEnts();
|
CL_FreeTempEnts();
|
||||||
CL_FreeViewBeams();
|
CL_FreeViewBeams();
|
||||||
@ -3912,6 +3909,9 @@ void CL_UnloadProgs( void )
|
|||||||
if( Q_stricmp( GI->gamefolder, "hlfx" ) || GI->version != 0.5f )
|
if( Q_stricmp( GI->gamefolder, "hlfx" ) || GI->version != 0.5f )
|
||||||
clgame.dllFuncs.pfnShutdown();
|
clgame.dllFuncs.pfnShutdown();
|
||||||
|
|
||||||
|
if( GI->internal_vgui_support )
|
||||||
|
VGui_Shutdown();
|
||||||
|
|
||||||
Cvar_FullSet( "cl_background", "0", FCVAR_READ_ONLY );
|
Cvar_FullSet( "cl_background", "0", FCVAR_READ_ONLY );
|
||||||
Cvar_FullSet( "host_clientloaded", "0", FCVAR_READ_ONLY );
|
Cvar_FullSet( "host_clientloaded", "0", FCVAR_READ_ONLY );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user