#include "progsvm.h"
#include "csprogs.h"
#include "sv_demo.h"
+#include "snd_main.h"
/*
cl.islocalgame = NetConn_IsLocalGame();
// get new key events
+ SndSys_SendKeyEvents();
Sys_SendKeyEvents();
NetConn_UpdateSockets();
if (sv.active ? sv_timer > 0 : cl_timer > 0)
{
// process console commands
+ CL_VM_PreventInformationLeaks();
Cbuf_Execute();
}
//
//-------------------
- if (cls.state != ca_dedicated && (cl_timer > 0 || cls.timedemo))
+ if (cls.state != ca_dedicated && (cl_timer > 0 || cls.timedemo || cl_maxfps.value < 1))
{
// decide the simulation time
if (cls.capturevideo.active)