- add +mnotvisible flag as per feature suggestion: https://forum.zdoom.org/viewtopic.php?t=77277
This commit is contained in:
parent
ea720605d4
commit
8af2f5aaf6
5 changed files with 8 additions and 2 deletions
|
|
@ -1681,6 +1681,7 @@ bool AActor::CanSeek(AActor *target) const
|
|||
if ((flags2 & MF2_DONTSEEKINVISIBLE) &&
|
||||
((target->flags & MF_SHADOW) ||
|
||||
(target->renderflags & RF_INVISIBLE) ||
|
||||
(target->flags8 & MF8_MNOTVISIBLE) ||
|
||||
!target->RenderStyle.IsVisible(target->Alpha)
|
||||
)
|
||||
) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue