1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2004-12-21 04:37:14 +00:00
parent 835a7ea700
commit 122dfc2338

View file

@ -197,9 +197,9 @@ cvar_t *Cvar_SetCore (cvar_t *var, char *value, qboolean force)
else if (var->flags & CVAR_RENDERERLATCH && qrenderer) else if (var->flags & CVAR_RENDERERLATCH && qrenderer)
latch = "variable %s will be changed after a renderer restart\n"; latch = "variable %s will be changed after a renderer restart\n";
#ifndef SERVERONLY #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"; 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"; latch = "variable %s is a cheat variable - latched\n";
#endif #endif