summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/filters.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/filters.txt b/npc/functions/filters.txt
index 1b13aa59e..ff2a2dbf9 100644
--- a/npc/functions/filters.txt
+++ b/npc/functions/filters.txt
@@ -73,6 +73,8 @@ function script filter_hostile {
getmapxy(.@m$, .@x, .@y, .@type, .@chkid);
if (!ispvpmap(.@m$))
return false;
+ // FIXME: We already have !(filter_sameguildorparty())
+ // We might be over-processing this
// Honor party flag
if (!getmapflag(.@mapa$, mf_pvp_noparty) &&
getcharid(1) == getcharid(1, strcharinfo(0, "", .@chkid)))