1
0
Fork 0
forked from fte/fteqw

------------------------------------------------------------------------

r4228 | acceptthis | 2013-02-26 16:48:02 +0000 (Tue, 26 Feb 2013) | 1 line

don't purge that which is already purged.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4224 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-03-12 23:09:49 +00:00
parent 2e009e1d26
commit a3bb0b7567

View file

@ -1280,6 +1280,9 @@ void S_Purge(qboolean retaintouched)
ambient_sfx[AMBIENT_SKY] = S_PrecacheSound ("ambience/wind2.wav");
}
if (!num_sfx)
return;
S_LockMixer();
for (i=0 ; i < num_sfx ; i++)
{