]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_mix.c
moved many cl_ prefixed variables into cl. or cls.
[xonotic/darkplaces.git] / snd_mix.c
index 8ba7a5e0b29e7beb42fb7299b6a98a2a2203f333..8133314c388712c3f524789ce1e8cfddc50beb76 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -32,14 +32,13 @@ typedef struct portable_samplepair_s
 portable_sampleframe_t paintbuffer[PAINTBUFFER_SIZE];
 
 // FIXME: this desyncs with the video too easily
-extern qboolean cl_capturevideo_active;
 extern void SCR_CaptureVideo_SoundFrame(unsigned char *bufstereo16le, size_t length, int rate);
 void S_CaptureAVISound(portable_sampleframe_t *buf, size_t length)
 {
        int n;
        size_t i;
        unsigned char out[PAINTBUFFER_SIZE * 4];
-       if (!cl_capturevideo_active)
+       if (!cls.capturevideo_active)
                return;
        // write the sound buffer as little endian 16bit interleaved stereo
        for(i = 0;i < length;i++)