mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: 3D floor that extend into the real sector's floor were not clipped properly.
The only check being done on this was done after processing for the renderer which simply is too late.
This commit is contained in:
parent
73f9300c2b
commit
a33ad3c99e
1 changed files with 6 additions and 0 deletions
|
@ -1392,6 +1392,12 @@ void GLWall::DoFFloorBlocks(seg_t * seg, sector_t * frontsector, sector_t * back
|
|||
ff_topleft = topleft;
|
||||
ff_topright = topright;
|
||||
}
|
||||
if (ff_bottomleft < bottomleft && ff_bottomright < bottomright)
|
||||
{
|
||||
// the new section extends into the floor.
|
||||
ff_bottomleft = bottomleft;
|
||||
ff_bottomright = bottomright;
|
||||
}
|
||||
|
||||
// do all inverse floors above the current one it there is a gap between the
|
||||
// last 3D floor and this one.
|
||||
|
|
Loading…
Reference in a new issue