- add +VISALWAYSFAIL flag
This commit is contained in:
parent
8af2f5aaf6
commit
45f67bdd50
4 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue