diff --git a/source/build/src/clip.cpp b/source/build/src/clip.cpp index 27345789d..5b98ec9f3 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -1148,9 +1148,18 @@ int32_t clipmove(vec3_t * const pos, int16_t * const sectnum, int32_t xvect, int clipyou = cliptestsector(dasect, wal->nextsector, flordist, ceildist, v, pos->z); } - // We're not interested in any sector reached by portal traversal that we're "inside" of. - if (!curspr && dasect != initialsectnum && inside(pos->x, pos->y, dasect) == 1) break; - else if (clipyou) + // We're not interested in any sector reached by portal traversal that we're "inside" of. + if (!curspr && dasect != initialsectnum && inside(pos->x, pos->y, dasect) == 1) + { + int k; + for (k=startwall; k