- Fix typo: MF6_SEEINVISIBLE is in flags6, not flags.

SVN r3777 (trunk)
This commit is contained in:
Randy Heit 2012-07-21 02:33:08 +00:00
parent 6760a3bfe9
commit 23c950ba98

View file

@ -1670,7 +1670,7 @@ bool P_LookForPlayers (AActor *actor, INTBOOL allaround, FLookExParams *params)
// [RC] Well, let's let special monsters with this flag active be able to see
// the player then, eh?
if(!(actor->flags & MF6_SEEINVISIBLE))
if(!(actor->flags6 & MF6_SEEINVISIBLE))
{
if ((player->mo->flags & MF_SHADOW && !(i_compatflags & COMPATF_INVISIBILITY)) ||
player->mo->flags3 & MF3_GHOST)