- 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

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