summaryrefslogtreecommitdiff
path: root/src/renderer/tr_flares.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/tr_flares.c')
-rw-r--r--src/renderer/tr_flares.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderer/tr_flares.c b/src/renderer/tr_flares.c
index afef22a4..8fc8265f 100644
--- a/src/renderer/tr_flares.c
+++ b/src/renderer/tr_flares.c
@@ -115,7 +115,7 @@ This is called at surface tesselation time
*/
void RB_AddFlare( void *surface, int fogNum, vec3_t point, vec3_t color, vec3_t normal ) {
int i;
- flare_t *f, *oldest;
+ flare_t *f;
vec3_t local;
float d = 1;
vec4_t eye, clip, normalized, window;
@@ -153,7 +153,6 @@ void RB_AddFlare( void *surface, int fogNum, vec3_t point, vec3_t color, vec3_t
}
// see if a flare with a matching surface, scene, and view exists
- oldest = r_flareStructs;
for ( f = r_activeFlares ; f ; f = f->next ) {
if ( f->surface == surface && f->frameSceneNum == backEnd.viewParms.frameSceneNum
&& f->inPortal == backEnd.viewParms.isPortal ) {