- fixed: Visplane merging should not be done for linedef based portals.

This commit is contained in:
Christoph Oelckers 2016-02-28 10:10:01 +01:00
parent 9a0de6c0fa
commit ee18fdeb83

View file

@ -527,8 +527,11 @@ void GLFlat::ProcessSector(sector_t * frontsector)
if ((stack = (frontsector->portals[sector_t::floor] != NULL)))
{
if (!frontsector->PortalBlocksView(sector_t::floor))
{
if (sector->SkyBoxes[sector_t::floor]->special1 == SKYBOX_STACKEDSECTORTHING)
{
gl_drawinfo->AddFloorStack(sector);
}
alpha = frontsector->GetAlpha(sector_t::floor) / 65536.0f;
}
else
@ -585,8 +588,11 @@ void GLFlat::ProcessSector(sector_t * frontsector)
if ((stack = (frontsector->portals[sector_t::ceiling] != NULL)))
{
if (!frontsector->PortalBlocksView(sector_t::ceiling))
{
if (sector->SkyBoxes[sector_t::ceiling]->special1 == SKYBOX_STACKEDSECTORTHING)
{
gl_drawinfo->AddCeilingStack(sector);
}
alpha = frontsector->GetAlpha(sector_t::ceiling) / 65536.0f;
}
else