interpolate backsector->heightsec (#1138)

This commit is contained in:
Roman Fomin 2023-07-10 11:52:27 +07:00 committed by GitHub
parent acca29dc73
commit a20ae9d858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -383,6 +383,11 @@ static void R_AddLine (seg_t *line)
// should already be interpolated.
R_MaybeInterpolateSector(backsector);
if (backsector->heightsec != -1)
{
R_MaybeInterpolateSector(&sectors[backsector->heightsec]);
}
// killough 3/8/98, 4/4/98: hack for invisible ceilings / deep water
backsector = R_FakeFlat(backsector, &tempsec, NULL, NULL, true);