From cab9d950f737f75c2c27e50abf26ba79ed3e0453 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 4 Nov 2026 00:49:02 +0100 Subject: [PATCH] Zzz --- src/hardware/hw_bsp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hardware/hw_bsp.c b/src/hardware/hw_bsp.c index 30d3b5e55..050317465 100644 --- a/src/hardware/hw_bsp.c +++ b/src/hardware/hw_bsp.c @@ -447,6 +447,10 @@ static poly_t *CutOutSubsecPoly(seg_t *lseg, INT32 segcount, poly_t *poly) vertex_t *v1, *v2; fdivline_t cutseg; // x, y, dx, dy as start of node_t struct + // empty poly? just save us some time then + if (poly->numpts <= 0) + return frontpoly; + // for each seg of the subsector for (; segcount--; lseg++) {