diff --git a/src/p_map.cpp b/src/p_map.cpp index 7908ce4a9..578375358 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -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); }