- Automatically reset fs_game to "" if it was supplied by the user and is equal to com_basegame

- Fix problem where users could change values of CVAR_INIT variables after the call to Cvar_Get() via Com_StartupVariable()
- Move sound shutdown after client shutdown so VMs don't hold invalid sound handles in memory
This commit is contained in:
Thilo Schulz committed 2011-06-22 23:00:36 +00:00
1 parent 664f8e578d
commit d57ba6a57b
5 files changed
+23 -10

No files matched your search

+1 -1
View File
@@ -3392,8 +3392,8 @@ void CL_Shutdown(char *finalmsg, qboolean disconnect)
if(disconnect)
CL_Disconnect(qtrue);
CL_Snd_Shutdown();
CL_ClearMemory(qtrue);
CL_Snd_Shutdown();
Cmd_RemoveCommand ("cmd");
Cmd_RemoveCommand ("configstrings");