Skip to content
Snippets Groups Projects
Commit 69b43aee authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Fix how FF_CUTEXTRA FOFs carry over cutting ability to FOFs below them in the...

Fix how FF_CUTEXTRA FOFs carry over cutting ability to FOFs below them in the same sector, even if they shouldn't do that
parent 0aba2f60
Branches
No related tags found
No related merge requests found
......@@ -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.
if (rlight->flags & FF_CUTSOLIDS && !(pfloor->flags & FF_EXTRA))
solid = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment