- rename the flags MNOTVISIBLE and VISALWAYSFAIL to MINVISIBLE and MVISBLOCKED respectively, to reflect what they really do
This commit is contained in:
parent
ee18123f01
commit
4475240da8
5 changed files with 9 additions and 9 deletions
|
|
@ -1681,7 +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->flags8 & MF8_MINVISIBLE) ||
|
||||
!target->RenderStyle.IsVisible(target->Alpha)
|
||||
)
|
||||
) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue