]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
fix broken demos with csqc code
[xonotic/darkplaces.git] / cl_screen.c
index 0c05593927e3195fba5a77c47a019311d1a0ff83..702635a2a2d68cd7583d58979a57c52f68336bd3 100644 (file)
@@ -1270,7 +1270,7 @@ Cr = R *  .500 + G * -.419 + B * -.0813 + 128.;
        //else
        {
                cls.capturevideo.format = CAPTUREVIDEOFORMAT_AVI_I420;
-               cls.capturevideo.videofile = FS_Open (va("%s.avi", cls.capturevideo.basename), "wb", false, true);
+               cls.capturevideo.videofile = FS_OpenRealFile(va("%s.avi", cls.capturevideo.basename), "wb", false);
                SCR_CaptureVideo_RIFF_Start();
                // enclosing RIFF chunk (there can be multiple of these in >1GB files, the later ones are "AVIX" instead of "AVI " and have no header/stream info)
                SCR_CaptureVideo_RIFF_Push("RIFF", "AVI ");