shithub: choc

Download patch

ref: 61913c496aca4f67610d8da735c79cebed7d8662
parent: e860d4cdc79c58afd44c34079810b6aaaa575434
author: Simon Howard <fraggle@gmail.com>
date: Sat May 19 22:20:54 EDT 2007

Stop music on sound shutdown so music isn't left playing at the ENDOOM
screen.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 882

--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -477,6 +477,7 @@
     if (!sound_initialised && !music_initialised)
         return;
 
+    Mix_HaltMusic();
     Mix_CloseAudio();
     SDL_QuitSubSystem(SDL_INIT_AUDIO);