Skip to content

Commit df724a8

Browse files
dileepvrRicardoLuis0
authored andcommitted
Update hw_portal OoB height clip
Hopefully the last bug squash.
1 parent bda5b70 commit df724a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rendering/hwrenderer/scene/hw_portal.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ bool HWSectorStackPortal::Setup(HWDrawInfo *di, FRenderState &rstate, Clipper *c
813813

814814
// avoid recursions!
815815
if (origin->plane != -1) screen->instack[origin->plane]++;
816-
if (lines.Size() > 0)
816+
if (vp.IsAllowedOoB() && lines.Size() > 0)
817817
{
818818

819819
flat.plane.GetFromSector(lines[0].sub->sector, origin->plane);

0 commit comments

Comments
 (0)