]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_mem.c
a prototype for the long dead function S_Alloc removed (thanks to Vic for mentioning...
[xonotic/darkplaces.git] / snd_mem.c
index 47398c6e0bde95f92279ed238d5c60dd82543410..1f7e7e3574ad2b30c246ae078b332283baba10df 100644 (file)
--- a/snd_mem.c
+++ b/snd_mem.c
@@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include "quakedef.h"
 
-qbyte *S_Alloc (int size);
-
 /*
 ================
 ResampleSfx
@@ -232,6 +230,7 @@ sfxcache_t *S_LoadSound (sfx_t *s, int complain)
 
        if (!data)
        {
+               s->silentlymissing = !complain;
                if (complain)
                        Con_Printf ("Couldn't load %s\n", namebuffer);
                return NULL;