OK, this is just a bit too restrictive

git-svn-id: https://svn.eduke32.com/eduke32@7834 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-07-24 10:56:20 +00:00 committed by Christoph Oelckers
parent 6d2ca41b9c
commit dad28df269

View file

@ -787,7 +787,7 @@ static bool cliptestsector(int const dasect, int const nextsect, int32_t const f
if (sec2->floorstat & 2)
getcorrectzsofslope(nextsect, pos.x, pos.y, &dacz2, &daz2);
if (daz2-dacz2 < flordist+ceildist)
if (daz2 <= dacz2)
return 1;
auto const sec = (usectorptr_t)&sector[dasect];