- moved two MAPINFO settings that are not exclusively used by the OpenGL renderer to the common code.
This commit is contained in:
parent
e1cd034698
commit
d86bd470e5
12 changed files with 40 additions and 63 deletions
|
|
@ -290,7 +290,7 @@ float gl_GetFogDensity(int lightlevel, PalEntry fogcolor, int sectorfogdensity)
|
|||
else if ((fogcolor.d & 0xffffff) == 0)
|
||||
{
|
||||
// case 2: black fog
|
||||
if (glset.lightmode != 8 && !glset.nolightfade)
|
||||
if (glset.lightmode != 8 && !(level.flags3 & LEVEL3_NOLIGHTFADE))
|
||||
{
|
||||
density = distfogtable[glset.lightmode != 0][gl_ClampLight(lightlevel)];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue