Fix a really stupid bug in r7574

git-svn-id: https://svn.eduke32.com/eduke32@7584 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-04-18 17:23:57 +00:00 committed by Christoph Oelckers
parent 5a814eb261
commit d04c4203c5

View file

@ -1014,6 +1014,7 @@ int32_t clipmove(vec3_t * const pos, int16_t * const sectnum, int32_t xvect, int
clipmove_warned = 0; clipmove_warned = 0;
Bmemset(clipsectormap, 0, (numsectors+7)>>3); Bmemset(clipsectormap, 0, (numsectors+7)>>3);
bitmap_set(clipsectormap, *sectnum);
do do
{ {
@ -1405,6 +1406,7 @@ int32_t pushmove(vec3_t * const vect, int16_t * const sectnum,
clipsectnum = 1; clipsectnum = 1;
Bmemset(clipsectormap, 0, (numsectors+7)>>3); Bmemset(clipsectormap, 0, (numsectors+7)>>3);
bitmap_set(clipsectormap, *sectnum);
do do
{ {
@ -1558,6 +1560,7 @@ void getzrange(const vec3_t *pos, int16_t sectnum,
clipsectnum = 1; clipsectnum = 1;
clipspritenum = 0; clipspritenum = 0;
Bmemset(clipsectormap, 0, (numsectors+7)>>3); Bmemset(clipsectormap, 0, (numsectors+7)>>3);
bitmap_set(clipsectormap, sectnum);
#ifdef HAVE_CLIPSHAPE_FEATURE #ifdef HAVE_CLIPSHAPE_FEATURE
if (0) if (0)