]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cl_cmd: Make _cl_color not read-only. That was annoying.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 22 Jul 2020 13:59:58 +0000 (13:59 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 22 Jul 2020 13:59:58 +0000 (13:59 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12863 d7cf8633-e32d-0410-b094-e92efae38249

cl_cmd.c

index f6ef99d8fa4293d815882a5af2d081f195ae2759..64d2131e3199cc853291824a56786abf8e3d44f5 100644 (file)
--- a/cl_cmd.c
+++ b/cl_cmd.c
@@ -219,7 +219,7 @@ static void CL_SendCvar_f(cmd_state_t *cmd)
 CL_Color_f
 ==================
 */
-cvar_t cl_color = {CVAR_READONLY | CVAR_CLIENT | CVAR_SAVE, "_cl_color", "0", "internal storage cvar for current player colors (changed by color command)"};
+cvar_t cl_color = {CVAR_CLIENT | CVAR_SAVE, "_cl_color", "0", "internal storage cvar for current player colors (changed by color command)"};
 
 // Ignore the callbacks so this two-to-three way synchronization doesn't cause an infinite loop.
 static void CL_Color_c(cvar_t *var)