mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
------------------------------------------------------------------------
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:
parent
2e009e1d26
commit
a3bb0b7567
1 changed files with 3 additions and 0 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue