mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
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:
parent
5a814eb261
commit
d04c4203c5
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue