From 3261fd12dbfd5ee9e5996ca98c30d65452d1e955 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 6 Apr 2025 16:25:01 +0200 Subject: [PATCH] dont need this --- src/hardware/hw_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 0af1e54e3..ffeae84f0 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -757,6 +757,7 @@ static void HWR_RenderPlane(subsector_t *subsector, extrasubsector_t *xsub, bool x1 = FIXED_TO_FLOAT(line->v1->x); y1 = FIXED_TO_FLOAT(line->v1->x); } + if (line->pv2) { xd = ((polyvertex_t *)line->pv2)->x - x1; @@ -4589,7 +4590,7 @@ static void HWR_ProjectSprite(mobj_t *thing) angle_t sliptiderollangle = 0; #endif - if (P_MobjWasRemoved(thing) || thing->subsector == NULL) + if (!thing || thing->subsector == NULL) return; // uncapped/interpolation