- fixed: invisible line within a portal could affect floor height checks in P_CheckPosition.

This commit is contained in:
Christoph Oelckers 2016-02-28 12:14:37 +01:00
parent 3272f180cb
commit 9e3bde0913
1 changed files with 1 additions and 1 deletions

View File

@ -921,7 +921,7 @@ bool PIT_CheckLine(FMultiBlockLinesIterator &mit, FMultiBlockLinesIterator::Chec
// If the floor planes on both sides match we should recalculate open.bottom at the actual position we are checking
// This is to avoid bumpy movement when crossing a linedef with the same slope on both sides.
if (open.frontfloorplane == open.backfloorplane)
if (open.frontfloorplane == open.backfloorplane && open.bottom > FIXED_MIN)
{
open.bottom = open.frontfloorplane.ZatPoint(cres.position.x, cres.position.y);
}