mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed misplaced parenthesis.
This commit is contained in:
parent
1eb1d8d280
commit
2d53ad6f10
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ void gl_SetFog(int lightlevel, int rellight, bool fullbright, const FColormap *c
|
||||||
}
|
}
|
||||||
else
|
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);
|
float light = hw_CalcLightLevel(lightlevel, rellight, false, cmap->BlendFactor);
|
||||||
gl_SetShaderLight(light, lightlevel);
|
gl_SetShaderLight(light, lightlevel);
|
||||||
|
|
Loading…
Reference in a new issue