- 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
parent 55975a2ae2
commit 695ab81bca
1 changed files with 1 additions and 2 deletions

View File

@ -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;