mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- check VISALWAYSFAIL against SF_IGNOREVISIBILITY
This commit is contained in:
parent
45f67bdd50
commit
ee18123f01
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ int P_CheckSight (AActor *t1, AActor *t2, int flags)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (t2->flags8 & MF8_VISALWAYSFAIL)
|
||||
if ((t2->flags8 & MF8_VISALWAYSFAIL) && !(flags & SF_IGNOREVISIBILITY))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue