From 0c62967d8a1498654a9bc43b93df88feb71565a4 Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 30 Mar 2019 21:04:14 +0700 Subject: [PATCH] ref_soft: re-enable lightstyles for LightPoint --- r_light.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/r_light.c b/r_light.c index 8f0e2331..413004c2 100644 --- a/r_light.c +++ b/r_light.c @@ -346,9 +346,9 @@ static qboolean R_RecursiveLightPoint( model_t *model, mnode_t *node, float p1f, if( 1 ) //tr.ignore_lightgamma ) { - cv->r += lm->r * 255 * 2.5; // scale; - cv->g += lm->g * 255 * 2.5; // scale; - cv->b += lm->b * 255 * 2.5; // scale; + cv->r += lm->r * scale * 2.5; // scale; + cv->g += lm->g * scale * 2.5; // scale; + cv->b += lm->b * scale * 2.5; // scale; } else {