From 23c950ba98ee7ad5d28b00aa47a905a1ec8f2b19 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 21 Jul 2012 02:33:08 +0000 Subject: [PATCH] - Fix typo: MF6_SEEINVISIBLE is in flags6, not flags. SVN r3777 (trunk) --- src/p_enemy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index 01e8aafac..3494792e6 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -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)