]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_demo.c
cvars are now instanced in &cvars_all as a tracking mechanism, there is also &cvars_n...
[xonotic/darkplaces.git] / cl_demo.c
index 035f6f86352c67f6805358dfa8ff85e2b17200f6..37ca912e1431323784b5e263f79c337417780c23 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -83,7 +83,7 @@ void CL_StopPlayback (void)
 {
 #ifdef CONFIG_VIDEO_CAPTURE
        if (cl_capturevideo_demo_stop.integer)
-               Cvar_Set("cl_capturevideo", "0");
+               Cvar_Set(&cvars_all, "cl_capturevideo", "0");
 #endif
 
        if (!cls.demoplayback)