]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_mem.c
add cl_dyntexture.o to makefile
[xonotic/darkplaces.git] / snd_mem.c
index 3da76b39b108d3c4f98990e5f0570409a6ad6e92..adb296ff2ddfdfa74723d54597d9912e9a7c30cc 100644 (file)
--- a/snd_mem.c
+++ b/snd_mem.c
@@ -319,6 +319,9 @@ qboolean S_LoadSound (sfx_t *sfx, qboolean complain)
        if (snd_renderbuffer == NULL)
                return false;
 
+       // Initialize volume peak to 0; if ReplayGain is supported, the loader will change this away
+       sfx->volume_peak = 0.0;
+
        // LordHavoc: if the sound filename does not begin with sound/, try adding it
        if (strncasecmp(sfx->name, "sound/", 6))
        {