mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-13 15:31:28 +00:00
host.c (Host_Shutdown): Write the console command history file only if
not a dedicated server. Same for shutting down the CDAudio and sound subsystems. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@231 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
7383a1647b
commit
52f4e89d99
1 changed files with 4 additions and 5 deletions
|
@ -890,15 +890,14 @@ void Host_Shutdown(void)
|
||||||
|
|
||||||
Host_WriteConfiguration ();
|
Host_WriteConfiguration ();
|
||||||
|
|
||||||
if (con_initialized)
|
|
||||||
History_Shutdown ();
|
|
||||||
|
|
||||||
CDAudio_Shutdown ();
|
|
||||||
NET_Shutdown ();
|
NET_Shutdown ();
|
||||||
S_Shutdown();
|
|
||||||
|
|
||||||
if (cls.state != ca_dedicated)
|
if (cls.state != ca_dedicated)
|
||||||
{
|
{
|
||||||
|
if (con_initialized)
|
||||||
|
History_Shutdown ();
|
||||||
|
CDAudio_Shutdown ();
|
||||||
|
S_Shutdown ();
|
||||||
IN_Shutdown (); // input is only initialized in Host_Init if we're not dedicated -- kristian
|
IN_Shutdown (); // input is only initialized in Host_Init if we're not dedicated -- kristian
|
||||||
VID_Shutdown();
|
VID_Shutdown();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue