ref: turn r_shadows into extended convar_t

This commit is contained in:
Alibek Omarov 2024-10-14 04:18:35 +03:00
parent 9d3210259c
commit 663f6eaf5c
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ typedef struct
} player_model_t;
// never gonna change, just shut up const warning
cvar_t r_shadows = { (char *)"r_shadows", (char *)"0", 0 };
CVAR_DEFINE_AUTO( r_shadows, "0", 0, "draw ugly shadows" );
static const vec3_t hullcolor[8] =
{

View File

@ -32,7 +32,7 @@ typedef struct
model_t *model;
} player_model_t;
cvar_t r_shadows = { (char *)"r_shadows", (char *)"0", 0 };
CVAR_DEFINE_AUTO( r_shadows, "0", 0, "draw ugly shadows" );
static const vec3_t hullcolor[8] =
{