Fix the additive/subtractive floors not working in OpenGL.

This commit is contained in:
Sryder 2020-10-24 01:02:01 +01:00
parent 4029f5bd00
commit 282932862c

View file

@ -551,7 +551,7 @@ static void HWR_RenderPlane(subsector_t *subsector, extrasubsector_t *xsub, bool
HWR_Lighting(&Surf, lightlevel, planecolormap);
if (PolyFlags & (PF_Translucent|PF_Fog))
if (PolyFlags & (PF_Translucent|PF_Additive|PF_Substractive|PF_Fog))
{
Surf.PolyColor.s.alpha = (UINT8)alpha;
PolyFlags |= PF_Modulated;