aborttime = realtime + 0.1;
}
}
- advancetime = min(advancetime, 0.1);
+ if(slowmo.value > 0 && slowmo.value < 1)
+ advancetime = min(advancetime, 0.1 / slowmo.value);
+ else
+ advancetime = min(advancetime, 0.1);
if(advancetime > 0)
{
//
//-------------------
- if (cls.state != ca_dedicated && (cl_timer > 0 || cls.timedemo || cl_maxfps.value < 1))
+ if (cls.state != ca_dedicated && (cl_timer > 0 || cls.timedemo || ((vid_activewindow ? cl_maxfps : cl_maxidlefps).value < 1)))
{
// decide the simulation time
if (cls.capturevideo.active)
#if MEMPARANOIA
Mem_CheckSentinelsGlobal();
+#else
+ if (developer_memorydebug.integer)
+ Mem_CheckSentinelsGlobal();
#endif
// if there is some time remaining from this frame, reset the timers
qboolean sys_nostdout = false;
+extern void u8_Init(void);
extern void Render_Init(void);
extern void Mathlib_Init(void);
extern void FS_Init(void);
Con_Init();
// initialize various cvars that could not be initialized earlier
+ u8_Init();
Curl_Init_Commands();
Cmd_Init_Commands();
Sys_Init_Commands();