mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-18 02:12:00 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
a3c2e76223
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ void P_Recalculate3DFloors(sector_t * sector)
|
||||||
// by the clipping code below.
|
// by the clipping code below.
|
||||||
ffloors.Push(pick);
|
ffloors.Push(pick);
|
||||||
}
|
}
|
||||||
else if (pick->flags&(FF_SWIMMABLE|FF_TRANSLUCENT) && pick->flags&FF_EXISTS)
|
else if ((pick->flags&(FF_SWIMMABLE|FF_TRANSLUCENT) || (!(pick->flags&(FF_ALLSIDES|FF_BOTHPLANES)))) && pick->flags&FF_EXISTS)
|
||||||
{
|
{
|
||||||
// We must check if this nonsolid segment gets clipped from the top by another 3D floor
|
// We must check if this nonsolid segment gets clipped from the top by another 3D floor
|
||||||
if (solid != NULL && solid_bottom < height)
|
if (solid != NULL && solid_bottom < height)
|
||||||
|
|
Loading…
Reference in a new issue