MCPcopy Create free account
hub / github.com/JACoders/OpenJK / SV_CheckPaused

Function SV_CheckPaused

code/server/sv_main.cpp:394–401  ·  view source on GitHub ↗

================== SV_CheckPaused ================== */

Source from the content-addressed store, hash-verified

392==================
393*/
394qboolean SV_CheckPaused( void ) {
395 if ( !cl_paused->integer ) {
396 return qfalse;
397 }
398
399 Cvar_Set("sv_paused", "1");
400 return qtrue;
401}
402
403/*
404This wonderful hack is needed to avoid rendering frames until several camera related things

Callers 1

SV_FrameFunction · 0.70

Calls 1

Cvar_SetFunction · 0.50

Tested by

no test coverage detected