Fix floor brightness affects sprites not in sector

This commit is contained in:
Magnus Norddahl 2017-01-17 02:16:13 +01:00
commit 8e72e094ce
3 changed files with 11 additions and 13 deletions

View file

@ -166,11 +166,6 @@ namespace swrenderer
invertcolormap = !invertcolormap;
}
if (current_sector->sectornum != thing->Sector->sectornum) // compare sectornums to account for R_FakeFlat copies.
{
basecolormap = thing->Sector->ColorMap;
}
// Sprites that are added to the scene must fade to black.
if (vis->RenderStyle == LegacyRenderStyles[STYLE_Add] && basecolormap->Fade != 0)
{