From dad28df269fd488e8d1ab1491742e9a60eb9b80b Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 24 Jul 2019 10:56:20 +0000 Subject: [PATCH] OK, this is just a bit too restrictive git-svn-id: https://svn.eduke32.com/eduke32@7834 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/clip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/clip.cpp b/source/build/src/clip.cpp index 4a1a24f6f..d1e438d1c 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -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)§or[dasect];