From 760fc6fbb8c4775435dd5e55d4075520fa3c9d84 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Mon, 7 Jul 2025 10:37:28 -0400 Subject: [PATCH] Revert 'Remove a useless call to R_FakeFlat' This reverts commit 5b72c8d30c6ee34416fbf1a0262083ff94590e0b. --- src/r_bsp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/r_bsp.cpp b/src/r_bsp.cpp index 967758eab..f03b0c342 100644 --- a/src/r_bsp.cpp +++ b/src/r_bsp.cpp @@ -449,6 +449,7 @@ static void R_AddLine(seg_t *line) { INT32 x1, x2; angle_t angle1, angle2, span, tspan; + static sector_t tempsec; boolean bothceilingssky = false, bothfloorssky = false; g_portal = NULL; @@ -544,6 +545,8 @@ static void R_AddLine(seg_t *line) goto clipsolid; } + backsector = R_FakeFlat(backsector, &tempsec, NULL, NULL, true); + doorclosed = 0; if (mapnamespace != MNS_SRB2KART)