diff options
author | Simon Howard | 2010-09-12 15:53:24 +0000 |
---|---|---|
committer | Simon Howard | 2010-09-12 15:53:24 +0000 |
commit | e55858706102f77aa9bec7e3b68ee423ba5660aa (patch) | |
tree | 888e7a30a59902c83a293172548585b661f32ec0 /src/strife | |
parent | 2c6dbeb09c631f93def5c406711360cfa27c9c29 (diff) | |
download | chocolate-doom-e55858706102f77aa9bec7e3b68ee423ba5660aa.tar.gz chocolate-doom-e55858706102f77aa9bec7e3b68ee423ba5660aa.tar.bz2 chocolate-doom-e55858706102f77aa9bec7e3b68ee423ba5660aa.zip |
Call I_UpdateSound periodically to free finished sounds back to the
cache in the zone heap.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2076
Diffstat (limited to 'src/strife')
-rw-r--r-- | src/strife/s_sound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strife/s_sound.c b/src/strife/s_sound.c index 642586cf..b9357181 100644 --- a/src/strife/s_sound.c +++ b/src/strife/s_sound.c @@ -661,6 +661,8 @@ void S_UpdateSounds(mobj_t *listener) sfxinfo_t* sfx; channel_t* c; + I_UpdateSound(); + for (cnum=0; cnum<snd_channels; cnum++) { c = &channels[cnum]; |