Engine: add cvar 'sv_lagpushticks' to SDK

Will be used for reworking some parts of the lag compensation system in the future.
This commit is contained in:
Kawe Mazidjatari 2024-04-12 20:37:13 +02:00
parent bc7a26b170
commit aba53d7bed
2 changed files with 5 additions and 2 deletions

View File

@ -72,8 +72,9 @@ ConVar* sv_forceChatToTeamOnly = nullptr;
ConVar* sv_single_core_dedi = nullptr;
ConVar* sv_maxunlag = nullptr;
ConVar* sv_clockcorrection_msecs = nullptr;
ConVar* sv_maxunlag = nullptr;
ConVar* sv_lagpushticks = nullptr;
ConVar* sv_clockcorrection_msecs = nullptr;
ConVar* sv_updaterate_sp = nullptr;
ConVar* sv_updaterate_mp = nullptr;
@ -201,6 +202,7 @@ void ConVar_InitShipped(void)
sv_stats = g_pCVar->FindVar("sv_stats");
sv_maxunlag = g_pCVar->FindVar("sv_maxunlag");
sv_lagpushticks = g_pCVar->FindVar("sv_lagpushticks");
sv_clockcorrection_msecs = g_pCVar->FindVar("sv_clockcorrection_msecs");
sv_updaterate_sp = g_pCVar->FindVar("sv_updaterate_sp");

View File

@ -60,6 +60,7 @@ extern ConVar* sv_forceChatToTeamOnly;
extern ConVar* sv_single_core_dedi;
extern ConVar* sv_maxunlag;
extern ConVar* sv_lagpushticks;
extern ConVar* sv_clockcorrection_msecs;
extern ConVar* sv_updaterate_sp;