mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 21:41:30 +00:00
- fixed: Visplane merging should not be done for linedef based portals.
This commit is contained in:
parent
9a0de6c0fa
commit
ee18fdeb83
1 changed files with 8 additions and 2 deletions
|
@ -528,7 +528,10 @@ void GLFlat::ProcessSector(sector_t * frontsector)
|
||||||
{
|
{
|
||||||
if (!frontsector->PortalBlocksView(sector_t::floor))
|
if (!frontsector->PortalBlocksView(sector_t::floor))
|
||||||
{
|
{
|
||||||
gl_drawinfo->AddFloorStack(sector);
|
if (sector->SkyBoxes[sector_t::floor]->special1 == SKYBOX_STACKEDSECTORTHING)
|
||||||
|
{
|
||||||
|
gl_drawinfo->AddFloorStack(sector);
|
||||||
|
}
|
||||||
alpha = frontsector->GetAlpha(sector_t::floor) / 65536.0f;
|
alpha = frontsector->GetAlpha(sector_t::floor) / 65536.0f;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -586,7 +589,10 @@ void GLFlat::ProcessSector(sector_t * frontsector)
|
||||||
{
|
{
|
||||||
if (!frontsector->PortalBlocksView(sector_t::ceiling))
|
if (!frontsector->PortalBlocksView(sector_t::ceiling))
|
||||||
{
|
{
|
||||||
gl_drawinfo->AddCeilingStack(sector);
|
if (sector->SkyBoxes[sector_t::ceiling]->special1 == SKYBOX_STACKEDSECTORTHING)
|
||||||
|
{
|
||||||
|
gl_drawinfo->AddCeilingStack(sector);
|
||||||
|
}
|
||||||
alpha = frontsector->GetAlpha(sector_t::ceiling) / 65536.0f;
|
alpha = frontsector->GetAlpha(sector_t::ceiling) / 65536.0f;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue