From e939fceb5bcdadd53d8fb827005a7e3fc9f37fe0 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 8 Mar 2024 01:18:48 +0100 Subject: [PATCH] readd this cause i dumb --- src/hardware/hw_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index a6f3e0a3e..138128480 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -683,6 +683,10 @@ void HWR_RenderPlane(subsector_t *subsector, extrasubsector_t *xsub, boolean isc slope = gr_frontsector->c_slope; } + // Set fixedheight to the slope's height from our viewpoint, if we have a slope + if (slope) + fixedheight = P_GetZAt(slope, viewx, viewy); + height = FIXED_TO_FLOAT(fixedheight); // Allocate plane-vertex buffer if we need to