mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: client: check if filesystem was initialized during client shutdown
This commit is contained in:
parent
c96f8ba722
commit
5b582b744a
@ -3163,10 +3163,11 @@ void CL_Shutdown( void )
|
||||
cls.initialized = false;
|
||||
|
||||
// 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();
|
||||
|
||||
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
|
||||
S_Shutdown ();
|
||||
R_Shutdown ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user