From a20ae9d85805d358ba770fae9dd9e92b277db2f6 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Mon, 10 Jul 2023 11:52:27 +0700 Subject: [PATCH] interpolate backsector->heightsec (#1138) --- src/r_bsp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/r_bsp.c b/src/r_bsp.c index 052798d1..99c4ecfb 100644 --- a/src/r_bsp.c +++ b/src/r_bsp.c @@ -383,6 +383,11 @@ static void R_AddLine (seg_t *line) // should already be interpolated. R_MaybeInterpolateSector(backsector); + if (backsector->heightsec != -1) + { + R_MaybeInterpolateSector(§ors[backsector->heightsec]); + } + // killough 3/8/98, 4/4/98: hack for invisible ceilings / deep water backsector = R_FakeFlat(backsector, &tempsec, NULL, NULL, true);