]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_cmd.c
cl_cmd: Make _cl_color not read-only. That was annoying.
[xonotic/darkplaces.git] / 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)