- add +VISALWAYSFAIL flag
This commit is contained in:
parent
8af2f5aaf6
commit
45f67bdd50
4 changed files with 8 additions and 1 deletions
|
|
@ -1252,7 +1252,7 @@ int P_IsVisible(AActor *lookee, AActor *other, INTBOOL allaround, FLookExParams
|
|||
double mindist;
|
||||
DAngle fov;
|
||||
|
||||
if (other == nullptr)
|
||||
if (other == nullptr || (other->flags8 & MF8_VISALWAYSFAIL))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue