]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_wav.c
huge audit of dprints throughout engine, all notices of successfully
[xonotic/darkplaces.git] / snd_wav.c
index 7ce6b2744d3b164ecfd0e0a7a038a1d17f5bd32c..01c7993f3d8a7f7d5b8124eb0c1bc768b457bc8e 100644 (file)
--- a/snd_wav.c
+++ b/snd_wav.c
@@ -284,7 +284,8 @@ qboolean S_LoadWavFile (const char *filename, sfx_t *sfx)
                return false;
        }
 
-       Con_DPrintf ("Loading WAV file \"%s\"\n", filename);
+       if (developer_loading.integer >= 2)
+               Con_Printf ("Loading WAV file \"%s\"\n", filename);
 
        info = GetWavinfo (sfx->name, data, (int)filesize);
        if (info.channels < 1 || info.channels > 2)  // Stereo sounds are allowed (intended for music)