From da3daa07213c9522103e6fc29d04e94dad72e630 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 30 Oct 2009 03:53:00 +0000 Subject: [PATCH] - Fix incorrect fix from previous commit. SVN r1953 (trunk) --- src/r_segs.cpp | 2 +- src/r_things.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }