#include "quakedef.h"
extern cvar_t cl_capturevideo;
+extern cvar_t cl_capturevideo_demo_stop;
int old_vsync = 0;
static void CL_FinishTimeDemo (void);
// LordHavoc: now called only by CL_Disconnect
void CL_StopPlayback (void)
{
+ if (cl_capturevideo_demo_stop.integer)
+ Cvar_Set("cl_capturevideo", "0");
+
if (!cls.demoplayback)
return;