Fix how FF_CUTEXTRA FOFs carry over cutting ability to FOFs below them in the same sector, even if they shouldn't do that
This commit is contained in:
parent
0aba2f607b
commit
69b43aee2d
|
@ -927,6 +927,8 @@ void R_RenderThickSideRange(drawseg_t *ds, INT32 x1, INT32 x2, ffloor_t *pfloor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
solid = 0; // don't carry over solid-cutting flag from the previous light
|
||||||
|
|
||||||
// Check if the current light can cut the current 3D floor.
|
// Check if the current light can cut the current 3D floor.
|
||||||
if (rlight->flags & FF_CUTSOLIDS && !(pfloor->flags & FF_EXTRA))
|
if (rlight->flags & FF_CUTSOLIDS && !(pfloor->flags & FF_EXTRA))
|
||||||
solid = 1;
|
solid = 1;
|
||||||
|
|
Loading…
Reference in a new issue