mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +00:00
- 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:
parent
9c2a784ca1
commit
e2d24d177f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue