- let a sight check that gets lost return failure.

This way these cannnot unwantedly wake up monsters.
This commit is contained in:
Christoph Oelckers 2019-12-28 16:32:50 +01:00 committed by drfrag
parent d6a23065d1
commit 35379e1e5d

View file

@ -775,8 +775,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;