From: cloudwalk Date: Wed, 22 Jul 2020 13:59:58 +0000 (+0000) Subject: cl_cmd: Make _cl_color not read-only. That was annoying. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d01dd7a0a8957e481faaaa37c5e0546ccc0c5a0b;p=xonotic%2Fdarkplaces.git 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 --- 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)