diff --git a/src/r_segs.cpp b/src/r_segs.cpp index b654c4779..a22b28c67 100644 --- a/src/r_segs.cpp +++ b/src/r_segs.cpp @@ -2435,7 +2435,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper, FDynamicColormap *usecolormap = basecolormap; // Decals that are added to the scene must fade to black. - if (decal->RenderStyle.BlendOp == STYLEOP_Add && usecolormap->Fade != 0) + if (decal->RenderStyle == LegacyRenderStyles[STYLE_Add] && usecolormap->Fade != 0) { usecolormap = GetSpecialLights(usecolormap->Color, 0, usecolormap->Desaturate); } diff --git a/src/r_things.cpp b/src/r_things.cpp index 2eb5bdafd..c03c162ba 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -1433,7 +1433,7 @@ void R_ProjectSprite (AActor *thing, int fakeside) FDynamicColormap *mybasecolormap = basecolormap; // Sprites that are added to the scene must fade to black. - if (vis->RenderStyle.BlendOp == STYLEOP_Add && mybasecolormap->Fade != 0) + if (vis->RenderStyle == LegacyRenderStyles[STYLE_Add] && mybasecolormap->Fade != 0) { mybasecolormap = GetSpecialLights(mybasecolormap->Color, 0, mybasecolormap->Desaturate); }