From 4ecb193df6f5c6e0bfbc05a4943c924ccf3cedc1 Mon Sep 17 00:00:00 2001 From: "zer0.k" <61156310+zer0k-z@users.noreply.github.com> Date: Mon, 21 Sep 2026 19:40:09 +0200 Subject: [PATCH] Add FCVAR_SNAPSHOT_IGNORED flag (#420) --- public/tier1/convar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/tier1/convar.h b/public/tier1/convar.h index 6f77943c..7f90f651 100644 --- a/public/tier1/convar.h +++ b/public/tier1/convar.h @@ -238,9 +238,10 @@ struct CVarCreationBase_t // Note: IVEngineClient::ClientCmd_Unrestricted can run any client command. #define FCVAR_EXECUTE_PER_TICK (1ull<<29) - +#define FCVAR_SNAPSHOT_IGNORED (1ull<<30) // TakeConVarSnapshot and ResetConVarsToSnapshot ignores cvars with this flag set #define FCVAR_DEFENSIVE (1ull<<32) +#define FCVAR_GAMEINFO_CANNOT_OVERRIDE (1ull<<34) // Code defaults can't be overridden from gameinfo //----------------------------------------------------------------------------- // Called when a ConCommand needs to execute