From b18f9148e4ddbc21c281953403ff36749179828f Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 13 Aug 2022 15:35:38 +0200 Subject: [PATCH] Renames * Rename FCVAR_ARCHIVE_GAMECONSOLE to FCVAR_ARCHIVE_PLAYERPROFILE. * Rename CONVARFLAG(UNLOGGED, "log") to CONVARFLAG(UNLOGGED, "ulog"). --- r5dev/public/iconvar.h | 2 +- r5dev/tier1/cvar.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/r5dev/public/iconvar.h b/r5dev/public/iconvar.h index 2c271a69..47b09a79 100644 --- a/r5dev/public/iconvar.h +++ b/r5dev/public/iconvar.h @@ -50,7 +50,7 @@ class CCommand; #define FCVAR_NOT_CONNECTED (1<<22) // cvar cannot be changed by a client that is connected to a server #define FCVAR_MATERIAL_SYSTEM_THREAD (1<<23) // Indicates this cvar is read from the material system thread -#define FCVAR_ARCHIVE_GAMECONSOLE (1<<24) // cvar written to config.cfg on the Xbox +#define FCVAR_ARCHIVE_PLAYERPROFILE (1<<24) // cvar written to config.cfg on the Xbox #define FCVAR_SERVER_CAN_EXECUTE (1<<28) // the server is allowed to execute this command on clients via ClientCommand/NET_StringCmd/CBaseClientState::ProcessStringCmd. #define FCVAR_SERVER_CANNOT_QUERY (1<<29) // If this is set, then the server is not allowed to query this cvar's value (via IServerPluginHelpers::StartQueryCvarValue). diff --git a/r5dev/tier1/cvar.cpp b/r5dev/tier1/cvar.cpp index 3e65277b..3d094706 100644 --- a/r5dev/tier1/cvar.cpp +++ b/r5dev/tier1/cvar.cpp @@ -179,9 +179,9 @@ struct ConVarFlags_t static ConVarFlags_t g_ConVarFlags[] = { - // CONVARFLAG( UNREGISTERED, "u" ), + CONVARFLAG(UNREGISTERED, "u" ), CONVARFLAG(ARCHIVE, "a"), - CONVARFLAG(ARCHIVE_GAMECONSOLE, "ap"), + CONVARFLAG(ARCHIVE_PLAYERPROFILE, "ap"), CONVARFLAG(SPONLY, "sp"), CONVARFLAG(GAMEDLL, "sv"), CONVARFLAG(CHEAT, "cheat"), @@ -189,7 +189,7 @@ static ConVarFlags_t g_ConVarFlags[] = CONVARFLAG(NOTIFY, "nf"), CONVARFLAG(PROTECTED, "prot"), CONVARFLAG(PRINTABLEONLY, "print"), - CONVARFLAG(UNLOGGED, "log"), + CONVARFLAG(UNLOGGED, "ulog"), CONVARFLAG(NEVER_AS_STRING, "numeric"), CONVARFLAG(REPLICATED, "rep"), CONVARFLAG(DEMO, "demo"),