- add +VISALWAYSFAIL flag

This commit is contained in:
Rachael Alexanderson 2023-02-14 23:14:35 -05:00
commit 45f67bdd50
4 changed files with 8 additions and 1 deletions

View file

@ -849,6 +849,11 @@ int P_CheckSight (AActor *t1, AActor *t2, int flags)
return false;
}
if (t2->flags8 & MF8_VISALWAYSFAIL)
{
return false;
}
auto s1 = t1->Sector;
auto s2 = t2->Sector;
//