mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
ref: soft: fix misplaced lightmaps
This commit is contained in:
parent
40c051fb6b
commit
d3adcf3185
@ -217,9 +217,7 @@ static void R_BuildLightMap( void )
|
||||
|
||||
for( i = 0, bl = blocklights; i < size; i++, bl += 1, lm++ )
|
||||
{
|
||||
bl[0] += lm->r * scale;
|
||||
bl[1] += lm->g * scale;
|
||||
bl[2] += lm->b * scale;
|
||||
bl[0] += ( lm->r + lm->g + lm->b ) * scale;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user