From c22ce824a5e8635610668683ce543ce31adca631 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 23 Jan 2011 00:22:08 +0000 Subject: [PATCH] - fixed some incorrect P_CHeckSight flag use in p_enemy.cpp. SVN r3115 (trunk) --- src/p_enemy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index bc755892e..7c166d450 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -309,7 +309,7 @@ bool P_CheckMissileRange (AActor *actor) { fixed_t dist; - if (!P_CheckSight (actor, actor->target, SF_SEEPASTBLOCKEVERYTHING|SF_SEEPASTSHOOTABLELINES)) + if (!P_CheckSight (actor, actor->target, SF_SEEPASTBLOCKEVERYTHING)) return false; if (actor->flags & MF_JUSTHIT) @@ -1151,7 +1151,7 @@ bool P_IsVisible(AActor *lookee, AActor *other, INTBOOL allaround, FLookExParams } // P_CheckSight is by far the most expensive operation in here so let's do it last. - return P_CheckSight(lookee, other, SF_SEEPASTBLOCKEVERYTHING); + return P_CheckSight(lookee, other, SF_SEEPASTSHOOTABLELINES); } //---------------------------------------------------------------------------