From aa3e32997bf3decdce451c8a6a915c27a489d84c Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 22 Jun 2011 23:00:36 +0000 Subject: - 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 --- src/client/cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/cl_main.c') diff --git a/src/client/cl_main.c b/src/client/cl_main.c index 3b30625d..05406179 100644 --- a/src/client/cl_main.c +++ b/src/client/cl_main.c @@ -3608,8 +3608,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"); -- cgit