mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- Fix incorrect fix from previous commit.
SVN r1953 (trunk)
This commit is contained in:
parent
4252cd52ad
commit
da3daa0721
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue