mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 23:32:02 +00:00
- fixed: negative extra light levels should not be treated like inverse flashes, that's only the case for INT_MIN.
This commit is contained in:
parent
2f325a1b81
commit
4e4eb7189a
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ void FGLRenderer::SetFixedColormap (player_t *player)
|
|||
player_t * cplayer = player->camera->player;
|
||||
if (cplayer)
|
||||
{
|
||||
if (cplayer->extralight<0)
|
||||
if (cplayer->extralight == INT_MIN)
|
||||
{
|
||||
gl_fixedcolormap=CM_FIRSTSPECIALCOLORMAP + INVERSECOLORMAP;
|
||||
extralight=0;
|
||||
|
|
Loading…
Reference in a new issue