commit e55858706102f77aa9bec7e3b68ee423ba5660aa
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Sep 12 15:53:24 2010 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sun Sep 12 15:53:24 2010 +0000
Call I_UpdateSound periodically to free finished sounds back to the
cache in the zone heap.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2076
---
src/strife/s_sound.c | 2 ++
1 file changed, 2 insertions(+)
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];