- only render visual portals if they are front facing

This commit is contained in:
Magnus Norddahl 2018-08-23 18:19:53 +02:00
parent cbbf4fb662
commit 01ea329cd4
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ bool RenderPolyWall::RenderLine(PolyRenderThread *thread, seg_t *line, sector_t
linePortals.push_back(std::unique_ptr<PolyDrawLinePortal>(new PolyDrawLinePortal(line->linedef)));
polyportal = linePortals.back().get();
}
else if (line->linedef && line->linedef->isVisualPortal())
else if (line->linedef && line->linedef->isVisualPortal() && line->sidedef == line->linedef->sidedef[0])
{
if (portalEnterLine == line->linedef)
{