]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_mix.c
changed behavior of SV_DropClient a bit (now calls ClientDisconnect QC function even...
[xonotic/darkplaces.git] / snd_mix.c
index a006f68f7fac6ed1dceeb284b8eeb9b3402321eb..790642cc8f418206b9d12cac3068fb514ee2b023 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -41,7 +41,7 @@ void S_CaptureAVISound(portable_samplepair_t *buf, int length)
                if (cl_avidemo_soundfile == NULL)
                {
                        sprintf (filename, "%s/dpavi.wav", com_gamedir);
-                       cl_avidemo_soundfile = fopen(filename, "wb");
+                       cl_avidemo_soundfile = FS_Open (filename, "wb", false);
                        memset(out, 0, 44);
                        fwrite(out, 1, 44, cl_avidemo_soundfile);
                        // header will be filled out when file is closed