Sound mixing was failing to add sound effects on certain sound outputs...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3331 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-07-25 09:15:42 +00:00
parent 1d68abc578
commit bce186834f
1 changed files with 2 additions and 0 deletions

View File

@ -808,6 +808,8 @@ channel_t *SND_PickChannel(soundcardinfo_t *sc, int entnum, int entchannel)
if (sc->channel[first_to_die].sfx)
sc->channel[first_to_die].sfx = NULL;
if (sc->total_chans <= first_to_die)
sc->total_chans = first_to_die+1;
return &sc->channel[first_to_die];
}