From ff3ec2e66be615a45c60f8099d255ddf0da45dac Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 11 Feb 2020 09:21:52 +0000 Subject: [PATCH] Re-enable ignoring 256 units of curb when clipping against ceilings This fixes getting stuck on tiny lips created by sloppy slopes in the undersized vents in DUKEDC3.MAP. git-svn-id: https://svn.eduke32.com/eduke32@8639 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 1a78fe3c2..7284f0fd4 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -871,7 +871,7 @@ static int cliptestsector(int const dasect, int const nextsect, int32_t const fl ((sec2->ceilingstat&1) == 0 && posz <= dacz2+(ceildist-1) && - dacz2 > dacz /*+CLIPCURBHEIGHT*/)); // ceilings check the same conditions ^^^^^ + dacz2 > dacz+CLIPCURBHEIGHT)); // ceilings check the same conditions ^^^^^ } int32_t clipmovex(vec3_t *pos, int16_t *sectnum,