ref: set hullcolor (used by r_drawentities) as const
This commit is contained in:
parent
4ec6c2f7cf
commit
9d3210259c
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ typedef struct
|
|||
// never gonna change, just shut up const warning
|
||||
cvar_t r_shadows = { (char *)"r_shadows", (char *)"0", 0 };
|
||||
|
||||
static vec3_t hullcolor[8] =
|
||||
static const vec3_t hullcolor[8] =
|
||||
{
|
||||
{ 1.0f, 1.0f, 1.0f },
|
||||
{ 1.0f, 0.5f, 0.5f },
|
||||
|
|
|
@ -34,7 +34,7 @@ typedef struct
|
|||
|
||||
cvar_t r_shadows = { (char *)"r_shadows", (char *)"0", 0 };
|
||||
|
||||
static vec3_t hullcolor[8] =
|
||||
static const vec3_t hullcolor[8] =
|
||||
{
|
||||
{ 1.0f, 1.0f, 1.0f },
|
||||
{ 1.0f, 0.5f, 0.5f },
|
||||
|
|
Loading…
Add table
Reference in a new issue