diff --git a/src/p_maputl.cpp b/src/p_maputl.cpp index 85e9183c57..82907d10aa 100644 --- a/src/p_maputl.cpp +++ b/src/p_maputl.cpp @@ -985,7 +985,7 @@ void FPathTraverse::AddLineIntercepts(int bx, int by) P_MakeDivline (ld, &dl); frac = P_InterceptVector (&trace, &dl); - if (frac < 0 || frac > 1) continue; // behind source or beyond end point + if (frac < 0 || frac > FRACUNIT) continue; // behind source or beyond end point intercept_t newintercept;