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
This commit is contained in:
Eukara 2020-02-11 23:08:11 +00:00
parent 9033f7b237
commit 237a9e820f

View file

@ -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)
{