mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix edge case in clipupdatesector()
git-svn-id: https://svn.eduke32.com/eduke32@7760 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
82c37b78cc
commit
6f54235b7a
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)
|
||||
if (uwal->nextsector >= 0 && getwalldist(pos, j) <= (walldist << 1))
|
||||
bfirst_search_try(sectlist, sectbitmap, &nsecs, uwal->nextsector);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue