engine: client: check if filesystem was initialized during client shutdown
This commit is contained in:
parent
c96f8ba722
commit
5b582b744a
1 changed files with 3 additions and 2 deletions
|
@ -3163,10 +3163,11 @@ void CL_Shutdown( void )
|
||||||
cls.initialized = false;
|
cls.initialized = false;
|
||||||
|
|
||||||
// for client-side VGUI support we use other order
|
// for client-side VGUI support we use other order
|
||||||
if( !GI->internal_vgui_support )
|
if( FI && FI->GameInfo && !FI->GameInfo->internal_vgui_support )
|
||||||
VGui_Shutdown();
|
VGui_Shutdown();
|
||||||
|
|
||||||
FS_Delete( "demoheader.tmp" ); // remove tmp file
|
if( g_fsapi.Delete )
|
||||||
|
g_fsapi.Delete( "demoheader.tmp" ); // remove tmp file
|
||||||
SCR_FreeCinematic (); // release AVI's *after* client.dll because custom renderer may use them
|
SCR_FreeCinematic (); // release AVI's *after* client.dll because custom renderer may use them
|
||||||
S_Shutdown ();
|
S_Shutdown ();
|
||||||
R_Shutdown ();
|
R_Shutdown ();
|
||||||
|
|
Loading…
Add table
Reference in a new issue