diff --git a/source/build/src/clip.cpp b/source/build/src/clip.cpp index 31e188dc1..59af1eab6 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -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); }