Fix floor brightness affects sprites not in sector
This commit is contained in:
parent
e154ff888d
commit
8e72e094ce
3 changed files with 11 additions and 13 deletions
|
|
@ -216,11 +216,6 @@ namespace swrenderer
|
|||
if (vis->RenderStyle.Flags & STYLEF_InvertSource)
|
||||
invertcolormap = !invertcolormap;
|
||||
|
||||
if (current_sector->sectornum != thing->Sector->sectornum) // compare sectornums to account for R_FakeFlat copies.
|
||||
{
|
||||
basecolormap = thing->Sector->ColorMap;
|
||||
}
|
||||
|
||||
if (vis->RenderStyle == LegacyRenderStyles[STYLE_Add] && basecolormap->Fade != 0)
|
||||
{
|
||||
basecolormap = GetSpecialLights(basecolormap->Color, 0, basecolormap->Desaturate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue