From 237a9e820f8f1984d56a2a8b87567dbefebcec8e Mon Sep 17 00:00:00 2001 From: Eukara Date: Tue, 11 Feb 2020 23:08:11 +0000 Subject: [PATCH] Prevent killing the sound in AL when soundupdate changes the volume to 0. We need this. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5615 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/snd_al.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/snd_al.c b/engine/client/snd_al.c index acc62d1b3..dc2e08aa9 100644 --- a/engine/client/snd_al.c +++ b/engine/client/snd_al.c @@ -760,7 +760,7 @@ static void OpenAL_ChannelUpdate(soundcardinfo_t *sc, channel_t *chan, chanupdat } /*just wanted to stop it?*/ - if (!sfx || chan->master_vol == 0) + if (!sfx) { if (src) {