mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: set hullcolor (used by r_drawentities) as const
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user