summaryrefslogtreecommitdiff
path: root/src/renderergl1
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl1')
-rw-r--r--src/renderergl1/tr_flares.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderergl1/tr_flares.c b/src/renderergl1/tr_flares.c
index 310f501a..579bdf9c 100644
--- a/src/renderergl1/tr_flares.c
+++ b/src/renderergl1/tr_flares.c
@@ -353,8 +353,8 @@ void RB_RenderFlare( flare_t *f ) {
VectorScale(f->color, f->drawIntensity * intensity, color);
-// Calculations for fogging
- if(tr.world && f->fogNum < tr.world->numfogs)
+ // Calculations for fogging
+ if(tr.world && f->fogNum > 0 && f->fogNum < tr.world->numfogs)
{
tess.numVertexes = 1;
VectorCopy(f->origin, tess.xyz[0]);