readd this cause i dumb

This commit is contained in:
Alug committed 2024-03-08 01:19:15 +01:00
1 parent 4fdb2174f0
commit b60d9d0be7
1 file changed
+4
+4
View File
@@ -694,6 +694,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