diff --git a/common/cvardef.h b/common/cvardef.h index e5542fbc..247a231c 100644 --- a/common/cvardef.h +++ b/common/cvardef.h @@ -25,8 +25,8 @@ #define FCVAR_PRINTABLEONLY (1<<7) // This cvar's string cannot contain unprintable characters ( e.g., used for player name etc ). #define FCVAR_UNLOGGED (1<<8) // If this is a FCVAR_SERVER, don't log changes to the log file / console if we are creating a log #define FCVAR_NOEXTRAWHITEPACE (1<<9) // strip trailing/leading white space from this cvar +#define FCVAR_LOCALONLY (1<<10) -#define FCVAR_MOVEVARS (1<<10) // this cvar is a part of movevars_t struct that shared between client and server #define FCVAR_LATCH (1<<11) // notify client what this cvar will be applied only after server restart (but don't does more nothing) #define FCVAR_GLCONFIG (1<<12) // write it into .cfg(see RefAPI) #define FCVAR_CHANGED (1<<13) // set each time the cvar is changed diff --git a/engine/common/cvar.h b/engine/common/cvar.h index d07ca8e2..ad2dbb44 100644 --- a/engine/common/cvar.h +++ b/engine/common/cvar.h @@ -47,7 +47,7 @@ typedef struct convar_s #define FCVAR_ALLOCATED (1<<19) // this convar_t is fully dynamic allocated (include description) #define FCVAR_VIDRESTART (1<<20) // recreate the window is cvar with this flag was changed #define FCVAR_TEMPORARY (1<<21) // these cvars holds their values and can be unlink in any time -#define FCVAR_LOCALONLY (1<<22) // can be set only from local buffers +#define FCVAR_MOVEVARS (1<<22) // this cvar is a part of movevars_t struct that shared between client and server #define CVAR_DEFINE( cv, cvname, cvstr, cvflags, cvdesc ) \ convar_t cv = { (char*)cvname, (char*)cvstr, cvflags, 0.0f, (void *)CVAR_SENTINEL, (char*)cvdesc, NULL }