- Fix incorrect fix from previous commit.

SVN r1953 (trunk)
This commit is contained in:
Randy Heit 2009-10-30 03:53:00 +00:00
commit da3daa0721
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}