mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-06 08:05:04 +01:00
ref: set hullcolor (used by r_drawentities) as const
This commit is contained in:
parent
4ec6c2f7cf
commit
9d3210259c
@ -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…
Reference in New Issue
Block a user