From 5fe1d9eb34f1822551af659fd4b86918fb2bcb47 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sat, 7 Mar 2026 14:18:39 -0500 Subject: [PATCH] Fix warning --- src/hardware/hw_segs.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/hardware/hw_segs.c b/src/hardware/hw_segs.c index ac1683897..ea6b04193 100644 --- a/src/hardware/hw_segs.c +++ b/src/hardware/hw_segs.c @@ -576,6 +576,14 @@ static void HWR_ProcessTwoSidedSegMiddle(FOutVector *wallVerts, FSurfaceInfo *Su polybottomslope = polytopslope - midtexheight; } } + else + { + // portal stencil twosided midtexture, fills entire space + polytop = popentop; + polybottom = popenbottom; + polytopslope = popentopslope; + polybottomslope = polytopslope; + } // CB // NOTE: With polyobjects, whenever you need to check the properties of the polyobject sector it belongs to,