From d04c4203c543ffb07d5c47a28d591efc8c3da352 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 18 Apr 2019 17:23:57 +0000 Subject: [PATCH] Fix a really stupid bug in r7574 git-svn-id: https://svn.eduke32.com/eduke32@7584 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/clip.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/build/src/clip.cpp b/source/build/src/clip.cpp index 247d82273..238dfdaf0 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -1014,6 +1014,7 @@ int32_t clipmove(vec3_t * const pos, int16_t * const sectnum, int32_t xvect, int clipmove_warned = 0; Bmemset(clipsectormap, 0, (numsectors+7)>>3); + bitmap_set(clipsectormap, *sectnum); do { @@ -1405,6 +1406,7 @@ int32_t pushmove(vec3_t * const vect, int16_t * const sectnum, clipsectnum = 1; Bmemset(clipsectormap, 0, (numsectors+7)>>3); + bitmap_set(clipsectormap, *sectnum); do { @@ -1558,6 +1560,7 @@ void getzrange(const vec3_t *pos, int16_t sectnum, clipsectnum = 1; clipspritenum = 0; Bmemset(clipsectormap, 0, (numsectors+7)>>3); + bitmap_set(clipsectormap, sectnum); #ifdef HAVE_CLIPSHAPE_FEATURE if (0)