mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
interpolate backsector
before "fake flat" hack (#1122)
This commit is contained in:
parent
5b832c021b
commit
1d269da0f9
10
src/r_bsp.c
10
src/r_bsp.c
@ -378,16 +378,16 @@ static void R_AddLine (seg_t *line)
|
||||
if (!backsector)
|
||||
goto clipsolid;
|
||||
|
||||
// killough 3/8/98, 4/4/98: hack for invisible ceilings / deep water
|
||||
backsector = R_FakeFlat(backsector, &tempsec, NULL, NULL, true);
|
||||
|
||||
doorclosed = 0; // killough 4/16/98
|
||||
|
||||
// [AM] Interpolate sector movement before
|
||||
// running clipping tests. Frontsector
|
||||
// should already be interpolated.
|
||||
R_MaybeInterpolateSector(backsector);
|
||||
|
||||
// killough 3/8/98, 4/4/98: hack for invisible ceilings / deep water
|
||||
backsector = R_FakeFlat(backsector, &tempsec, NULL, NULL, true);
|
||||
|
||||
doorclosed = 0; // killough 4/16/98
|
||||
|
||||
// Closed door.
|
||||
|
||||
if (backsector->interpceilingheight <= frontsector->interpfloorheight
|
||||
|
Loading…
x
Reference in New Issue
Block a user