Add 'player_userCmdsQueueWarning' cvar to SDK

Will be used for the 'CPlayer::ProcessUserCmds' rebuild.
This commit is contained in:
Kawe Mazidjatari 2023-07-02 21:28:49 +02:00
parent 9b74ac2e53
commit 7d456b8b61
2 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,7 @@ ConVar* sv_voiceenable = nullptr;
ConVar* sv_alltalk = nullptr;
ConVar* sv_usercmd_dualwield_enable = nullptr;
ConVar* player_userCmdsQueueWarning = nullptr;
//#ifdef DEDICATED
ConVar* sv_rcon_debug = nullptr;
@ -498,6 +499,7 @@ void ConVar_InitShipped(void)
sv_voiceenable = g_pCVar->FindVar("sv_voiceenable");
sv_voiceEcho = g_pCVar->FindVar("sv_voiceEcho");
sv_alltalk = g_pCVar->FindVar("sv_alltalk");
player_userCmdsQueueWarning = g_pCVar->FindVar("player_userCmdsQueueWarning");
sv_showhitboxes->SetMin(-1); // Allow user to go over each entity manually without going out of bounds.
sv_showhitboxes->SetMax(NUM_ENT_ENTRIES - 1);

View File

@ -100,6 +100,7 @@ extern ConVar* sv_voiceenable;
extern ConVar* sv_alltalk;
extern ConVar* sv_usercmd_dualwield_enable;
extern ConVar* player_userCmdsQueueWarning;
//#ifdef DEDICATED
extern ConVar* sv_rcon_debug;