]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
clear sounds before shutting down
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 12 May 2005 18:55:32 +0000 (18:55 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 12 May 2005 18:55:32 +0000 (18:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5273 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 0300386c20d9c472b89518e0fe8a9c4c3e3a88bb..108db335bd78a31d0a44c0e49ce5297f3b7d6c7b 100644 (file)
--- a/host.c
+++ b/host.c
@@ -1067,6 +1067,9 @@ void Host_Shutdown(void)
        }
        isdown = true;
 
+       // be quiet while shutting down
+       S_StopAllSounds();
+
        // disconnect client from server if active
        CL_Disconnect();