From d01dd7a0a8957e481faaaa37c5e0546ccc0c5a0b Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Wed, 22 Jul 2020 13:59:58 +0000 Subject: [PATCH] cl_cmd: Make _cl_color not read-only. That was annoying. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12863 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_cmd.c b/cl_cmd.c index f6ef99d8..64d2131e 100644 --- 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) -- 2.39.2