static void Host_Init(void);
void Host_Main(void)
{
+ static double time1 = 0;
+ static double time2 = 0;
+ static double time3 = 0;
double frameoldtime, framenewtime, frametime, cl_timer, sv_timer;
Host_Init();
framenewtime = Sys_DoubleTime();
for (;;)
{
- static double time1 = 0;
- static double time2 = 0;
- static double time3 = 0;
+ if (setjmp(host_abortframe))
+ continue; // something bad happened, or the server disconnected
frameoldtime = framenewtime;
framenewtime = Sys_DoubleTime();
cl_timer += frametime;
sv_timer += frametime;
- if (setjmp(host_abortframe))
- continue; // something bad happened, or the server disconnected
-
if (slowmo.value < 0)
Cvar_SetValue("slowmo", 0);
if (host_framerate.value < 0.00001 && host_framerate.value != 0)