shithub: choc

Download patch

ref: e55858706102f77aa9bec7e3b68ee423ba5660aa
parent: 2c6dbeb09c631f93def5c406711360cfa27c9c29
author: Simon Howard <[email protected]>
date: Sun Sep 12 11:53:24 EDT 2010

Call I_UpdateSound periodically to free finished sounds back to the
cache in the zone heap.

Subversion-branch: /branches/strife-branch
Subversion-revision: 2076

--- a/src/strife/s_sound.c
+++ b/src/strife/s_sound.c
@@ -661,6 +661,8 @@
     sfxinfo_t*        sfx;
     channel_t*        c;
 
+    I_UpdateSound();
+
     for (cnum=0; cnum<snd_channels; cnum++)
     {
         c = &channels[cnum];