diff --git a/src/playsim/p_sight.cpp b/src/playsim/p_sight.cpp index fda40b80c..0f1738f38 100644 --- a/src/playsim/p_sight.cpp +++ b/src/playsim/p_sight.cpp @@ -773,8 +773,7 @@ bool SightCheck::P_SightPathTraverse () case 0: // neither xintercept nor yintercept match! sightcounts[5]++; // Continuing won't make things any better, so we might as well stop right here - count = 1000; - break; + return false; case 1: // xintercept matches xintercept += xstep;