|
|
@ -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 ); |
|
|
|
|
|
|
|
|
|
|
|