mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Allow changing client's cheat cvars if not connected yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@670 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
835a7ea700
commit
122dfc2338
1 changed files with 2 additions and 2 deletions
|
@ -197,9 +197,9 @@ cvar_t *Cvar_SetCore (cvar_t *var, char *value, qboolean force)
|
|||
else if (var->flags & CVAR_RENDERERLATCH && qrenderer)
|
||||
latch = "variable %s will be changed after a renderer restart\n";
|
||||
#ifndef SERVERONLY
|
||||
else if (var->flags & CVAR_CHEAT && !cls.allow_cheats)
|
||||
else if (var->flags & CVAR_CHEAT && !cls.allow_cheats && cls.state)
|
||||
latch = "variable %s is a cheat variable - latched\n";
|
||||
else if (var->flags & CVAR_SEMICHEAT && !cls.allow_semicheats)
|
||||
else if (var->flags & CVAR_SEMICHEAT && !cls.allow_semicheats && cls.state)
|
||||
latch = "variable %s is a cheat variable - latched\n";
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue