diff --git a/src/polyrenderer/scene/poly_wall.cpp b/src/polyrenderer/scene/poly_wall.cpp index 7aae2c32c..b7872724b 100644 --- a/src/polyrenderer/scene/poly_wall.cpp +++ b/src/polyrenderer/scene/poly_wall.cpp @@ -60,7 +60,7 @@ bool RenderPolyWall::RenderLine(PolyRenderThread *thread, seg_t *line, sector_t linePortals.push_back(std::unique_ptr(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) {