summaryrefslogtreecommitdiff
path: root/src/strife/s_sound.c
diff options
context:
space:
mode:
authorSimon Howard2010-09-12 15:53:24 +0000
committerSimon Howard2010-09-12 15:53:24 +0000
commite55858706102f77aa9bec7e3b68ee423ba5660aa (patch)
tree888e7a30a59902c83a293172548585b661f32ec0 /src/strife/s_sound.c
parent2c6dbeb09c631f93def5c406711360cfa27c9c29 (diff)
downloadchocolate-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/s_sound.c')
-rw-r--r--src/strife/s_sound.c2
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];