mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Try walldist + 8 instead of walldist << 1 in clipupdatesector()
git-svn-id: https://svn.eduke32.com/eduke32@7807 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
97390c1ff4
commit
43f263fc65
1 changed files with 1 additions and 1 deletions
|
@ -976,7 +976,7 @@ static void clipupdatesector(vec2_t const &pos, int16_t * const sectnum, int con
|
|||
// check floor curbs here?
|
||||
|
||||
for (int j = startwall; j < endwall; j++, uwal++)
|
||||
if (uwal->nextsector >= 0 && getwalldist(pos, j) <= (walldist << 1))
|
||||
if (uwal->nextsector >= 0 && getwalldist(pos, j) <= (walldist + 8))
|
||||
bfirst_search_try(sectlist, sectbitmap, &nsecs, uwal->nextsector);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue