Don't consider CLIPCURBHEIGHT for ceiling clipping

git-svn-id: https://svn.eduke32.com/eduke32@8047 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-08-27 06:52:38 +00:00 committed by Christoph Oelckers
parent 1f5866295c
commit 8a01335c26

View file

@ -816,7 +816,7 @@ static bool cliptestsector(int const dasect, int const nextsect, int32_t const f
((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,