summaryrefslogtreecommitdiff
path: root/src/client/cl_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_main.c')
-rw-r--r--src/client/cl_main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index 2507614a..296662fc 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -1797,10 +1797,10 @@ CL_Snd_Restart
Restart the sound subsystem
=================
*/
-void CL_Snd_Restart(void)
+void CL_Snd_Shutdown(void)
{
S_Shutdown();
- S_Init();
+ cls.soundStarted = qfalse;
}
/*
@@ -1814,7 +1814,8 @@ handles will be invalid
*/
void CL_Snd_Restart_f(void)
{
- CL_Snd_Restart();
+ CL_Snd_Shutdown();
+ // sound will be reinitialized by vid_restart
CL_Vid_Restart_f();
}
@@ -3565,7 +3566,7 @@ void CL_Shutdown( char *finalmsg ) {
CL_Disconnect( qtrue );
- S_Shutdown();
+ CL_Snd_Shutdown();
CL_ShutdownRef();
CL_ShutdownUI();