light: trivial tidy up
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
f5e7e594e4
commit
8b1a501087
|
|
@ -569,8 +569,7 @@ SingleLightFace(const entity_t *light, lightinfo_t * l,
|
|||
continue;
|
||||
|
||||
angle = (1.0 - scalecos) + scalecos * angle;
|
||||
add = scaledLight(dist, light);
|
||||
add *= angle;
|
||||
add = scaledLight(dist, light) * angle;
|
||||
lightsamp[c] += add;
|
||||
if (colored)
|
||||
VectorMA(colorsamp[c], add / 255, colors, colorsamp[c]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue