From 1933f608e7365343c48b6b35c171475640f9651c Mon Sep 17 00:00:00 2001 From: "p.kosyh@gmail.com" Date: Sat, 23 Apr 2011 05:59:15 +0000 Subject: [PATCH] halt sounds at free --- src/sdl-instead/game.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sdl-instead/game.c b/src/sdl-instead/game.c index 83ed650..41fb722 100644 --- a/src/sdl-instead/game.c +++ b/src/sdl-instead/game.c @@ -1446,6 +1446,7 @@ static void sounds_shrink(void) void sounds_free(void) { // int i = 0; + snd_halt_chan(-1, 0); /* halt sounds */ while (!list_empty(&sounds)) { _snd_t *sn = (_snd_t*)(sounds.next); if (sound_playing(sn) == -1) {