diff --git a/ref/gl/gl_sprite.c b/ref/gl/gl_sprite.c index 850c0319..03f794bf 100644 --- a/ref/gl/gl_sprite.c +++ b/ref/gl/gl_sprite.c @@ -21,8 +21,6 @@ GNU General Public License for more details. #define GLARE_FALLOFF 19000.0f -static float sprite_radius; - /* ================ R_GetSpriteFrameInterpolant @@ -212,8 +210,6 @@ static qboolean R_CullSpriteModel( cl_entity_t *e, vec3_t origin ) VectorScale( e->model->mins, scale, sprite_mins ); VectorScale( e->model->maxs, scale, sprite_maxs ); - sprite_radius = RadiusFromBounds( sprite_mins, sprite_maxs ); - VectorAdd( sprite_mins, origin, sprite_mins ); VectorAdd( sprite_maxs, origin, sprite_maxs ); diff --git a/ref/soft/r_sprite.c b/ref/soft/r_sprite.c index 9ae66ceb..85b329bb 100644 --- a/ref/soft/r_sprite.c +++ b/ref/soft/r_sprite.c @@ -21,8 +21,6 @@ GNU General Public License for more details. #define GLARE_FALLOFF 19000.0f -static float sprite_radius; - /* ================ R_CullSpriteModel @@ -45,8 +43,6 @@ static qboolean R_CullSpriteModel( cl_entity_t *e, vec3_t origin ) VectorScale( e->model->mins, scale, sprite_mins ); VectorScale( e->model->maxs, scale, sprite_maxs ); - sprite_radius = RadiusFromBounds( sprite_mins, sprite_maxs ); - VectorAdd( sprite_mins, origin, sprite_mins ); VectorAdd( sprite_maxs, origin, sprite_maxs );