- fixed: Changing APROP_Friendly in ACS did not adjust the monster count.

- fixed: AActor::CanSeek had the check for the visibility of the target actor's alpha reversed.
- added an Alt HUD icon for Hexen's fighter's fist.


SVN r2501 (trunk)
This commit is contained in:
Christoph Oelckers 2010-08-10 16:22:57 +00:00
commit 5d5f25fdab
3 changed files with 9 additions and 2 deletions

View file

@ -1491,8 +1491,8 @@ bool AActor::CanSeek(AActor *target) const
if (target->flags5 & MF5_CANTSEEK) return false;
if ((flags2 & MF2_DONTSEEKINVISIBLE) &&
((target->flags & MF_SHADOW) ||
target->renderflags & RF_INVISIBLE ||
target->RenderStyle.IsVisible(target->alpha)
(target->renderflags & RF_INVISIBLE) ||
!target->RenderStyle.IsVisible(target->alpha)
)
) return false;
return true;