From b6fb5ecca268cc8f82fa86e95aa7394416467851 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Fri, 29 Apr 2016 21:21:47 -0600 Subject: [PATCH] light: fix bouncedebug --- light/ltface.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/light/ltface.c b/light/ltface.c index 7b938af1..b65c3033 100644 --- a/light/ltface.c +++ b/light/ltface.c @@ -1645,13 +1645,7 @@ LightFace_Bounce(const bsp2_t *bsp, const bsp2_dface_t *face, const lightsurf_t VectorScale(indirect, dirtscale, indirect); lightsample_t *sample = &lightmap->samples[i]; - if (bouncedebug) { - /* Overwrite each point with the indirect lighting for that sample... */ - VectorCopy(indirect, sample->color); - } else { - VectorAdd(sample->color, indirect, sample->color); - } - sample->light = 255; + VectorAdd(sample->color, indirect, sample->color); } }