- fixed misplaced parenthesis.

This commit is contained in:
Christoph Oelckers 2018-09-09 19:18:22 +02:00
parent 1eb1d8d280
commit 2d53ad6f10
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ void gl_SetFog(int lightlevel, int rellight, bool fullbright, const FColormap *c
}
else
{
if ((level.lightmode == 2 || (level.lightmode == 8) && cmap->BlendFactor > 0) && fogcolor == 0)
if ((level.lightmode == 2 || (level.lightmode == 8 && cmap->BlendFactor > 0)) && fogcolor == 0)
{
float light = hw_CalcLightLevel(lightlevel, rellight, false, cmap->BlendFactor);
gl_SetShaderLight(light, lightlevel);