- fixed: application of fake contrast should never result in a light level of 0 unless the sector's own light level is 0.

(patch by Graf)
This commit is contained in:
drfrag 2019-04-27 12:16:10 +02:00
parent 9c2a784ca1
commit e2d24d177f

View file

@ -172,7 +172,7 @@ int gl_CalcLightLevel(int lightlevel, int rellight, bool weapon, int blendfactor
{
int light;
if (lightlevel == 0) return 0;
if (lightlevel <= 0) return 0;
bool darklightmode = (glset.lightmode & 2) || (glset.lightmode >= 8 && blendfactor > 0);