mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove non-existent ConVar flag
This flag doesn't exist in this game, and is also mapped to printableonly. The map order has also been corrected, from least significant to most significant.
This commit is contained in:
parent
398c0f1ddc
commit
3e4d02afe1
@ -27,10 +27,6 @@ class CCommand;
|
||||
|
||||
#define FCVAR_PRINTABLEONLY (1<<10) // This cvar's string cannot contain unprintable characters ( e.g., used for player name etc ).
|
||||
|
||||
#define FCVAR_GAMEDLL_FOR_REMOTE_CLIENTS (1<<10) // When on concommands this allows remote clients to execute this cmd on the server.
|
||||
// We are changing the default behavior of concommands to disallow execution by remote clients without
|
||||
// this flag due to the number existing concommands that can lag or crash the server when clients abuse them.
|
||||
|
||||
#define FCVAR_UNLOGGED (1<<11) // If this is a FCVAR_SERVER, don't log changes to the log file / console if we are creating a log
|
||||
#define FCVAR_NEVER_AS_STRING (1<<12) // never try to print that cvar
|
||||
|
||||
|
@ -414,7 +414,6 @@ ConVarFlags::ConVarFlags() : m_StringToFlags(DefLessFunc(const char*))
|
||||
SET_CONVARFLAG(NOTIFY, "notify");
|
||||
SET_CONVARFLAG(USERINFO, "userinfo");
|
||||
SET_CONVARFLAG(PRINTABLEONLY, "printable_only");
|
||||
SET_CONVARFLAG(GAMEDLL_FOR_REMOTE_CLIENTS, "server_for_remote");
|
||||
SET_CONVARFLAG(UNLOGGED, "unlogged");
|
||||
SET_CONVARFLAG(NEVER_AS_STRING, "never_as_string");
|
||||
SET_CONVARFLAG(REPLICATED, "replicated");
|
||||
@ -428,11 +427,11 @@ ConVarFlags::ConVarFlags() : m_StringToFlags(DefLessFunc(const char*))
|
||||
SET_CONVARFLAG(RELOAD_TEXTURES, "reload_textures");
|
||||
SET_CONVARFLAG(NOT_CONNECTED, "not_connected");
|
||||
SET_CONVARFLAG(MATERIAL_SYSTEM_THREAD, "materialsystem_thread");
|
||||
SET_CONVARFLAG(MATERIAL_THREAD_MASK, "material_thread_mask");
|
||||
SET_CONVARFLAG(ARCHIVE_PLAYERPROFILE, "playerprofile");
|
||||
SET_CONVARFLAG(SERVER_CAN_EXECUTE, "server_can_execute");
|
||||
SET_CONVARFLAG(SERVER_CANNOT_QUERY, "server_cannot_query");
|
||||
SET_CONVARFLAG(CLIENTCMD_CAN_EXECUTE, "clientcmd_can_execute");
|
||||
SET_CONVARFLAG(MATERIAL_THREAD_MASK, "material_thread_mask");
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user