mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-12 02:08:01 +08:00
Add FCVAR_SNAPSHOT_IGNORED flag (#420)
This commit is contained in:
1 parent
2b959659ac
commit
4ecb193df6
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user