diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-06-22 23:00:36 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 21:51:33 +0000 |
commit | aa3e32997bf3decdce451c8a6a915c27a489d84c (patch) | |
tree | c0077358b9a622796d6cf50ccd009dcec39bf5ae /src/client/cl_main.c | |
parent | 1e5a28cf92afc069a38fd42f58dcdcd803ca2fe1 (diff) |
- 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
Diffstat (limited to 'src/client/cl_main.c')
-rw-r--r-- | src/client/cl_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |