light: fix bouncedebug

This commit is contained in:
Eric Wasylishen 2016-04-29 21:21:47 -06:00
parent afc43b0c55
commit b6fb5ecca2
1 changed files with 1 additions and 7 deletions

View File

@ -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);
}
}