Update hw_portal OoB height clip

Hopefully the last bug squash.
This commit is contained in:
dileepvr 2025-03-08 07:10:59 -07:00 committed by Ricardo Luís Vaz Silva
commit e24c6fa4db

View file

@ -813,7 +813,7 @@ bool HWSectorStackPortal::Setup(HWDrawInfo *di, FRenderState &rstate, Clipper *c
// avoid recursions!
if (origin->plane != -1) screen->instack[origin->plane]++;
if (lines.Size() > 0)
if (vp.IsAllowedOoB() && lines.Size() > 0)
{
flat.plane.GetFromSector(lines[0].sub->sector, origin->plane);