diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 78964357b..5555c7085 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -2351,9 +2351,6 @@ static void HWR_AddLine(seg_t *line) { angle_t angle1, angle2; - // SoM: Backsector needs to be run through R_FakeFlat - static sector_t tempsec; - fixed_t v1x, v1y, v2x, v2y; // the seg's vertexes as fixed_t boolean dont_draw = false; @@ -2410,8 +2407,6 @@ doaddline: } else { - gl_backsector = R_FakeFlat(gl_backsector, &tempsec, NULL, NULL, true); - if (CheckClip(gl_frontsector, gl_backsector)) { gld_clipper_SafeAddClipRange(angle2, angle1); diff --git a/src/r_bsp.c b/src/r_bsp.c index 427a6367c..bc8c124ee 100644 --- a/src/r_bsp.c +++ b/src/r_bsp.c @@ -388,7 +388,6 @@ static void R_AddLine(seg_t *line) { INT32 x1, x2; angle_t angle1, angle2, span, tspan; - static sector_t tempsec; g_portal = NULL; @@ -472,8 +471,6 @@ static void R_AddLine(seg_t *line) if (!backsector) goto clipsolid; - backsector = R_FakeFlat(backsector, &tempsec, NULL, NULL, true); - doorclosed = 0; fixed_t frontf1,frontf2, frontc1, frontc2; // front floor/ceiling ends