summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-07-01 16:02:22 -0300
committerJesusaves <cpntb1@ymail.com>2023-07-01 16:02:22 -0300
commit39f8ef9abe0074c132e55a314ad1fd718c541f2f (patch)
tree6eabd6817db4d7328ea05f22392db8ad65d9c75b
parent5b43c565a1b23f01fa3f3c5153f67cad2219c90f (diff)
downloadserverdata-39f8ef9abe0074c132e55a314ad1fd718c541f2f.tar.gz
serverdata-39f8ef9abe0074c132e55a314ad1fd718c541f2f.tar.bz2
serverdata-39f8ef9abe0074c132e55a314ad1fd718c541f2f.tar.xz
serverdata-39f8ef9abe0074c132e55a314ad1fd718c541f2f.zip
Fix filters
-rw-r--r--npc/functions/filters.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/filters.txt b/npc/functions/filters.txt
index bb4d8d6..c97b816 100644
--- a/npc/functions/filters.txt
+++ b/npc/functions/filters.txt
@@ -76,11 +76,11 @@ function script filter_hostile {
// FIXME: We already have !(filter_sameguildorparty())
// We might be over-processing this
// Honor party flag
- if (!getmapflag(.@mapa$, mf_pvp_noparty) &&
+ if (!getmapflag(.@m$, mf_pvp_noparty) &&
getcharid(1) == getcharid(1, strcharinfo(0, "", .@chkid)))
return false;
// Honor guild flag
- if (!getmapflag(.@mapa$, mf_pvp_noguild) &&
+ if (!getmapflag(.@m$, mf_pvp_noguild) &&
getcharid(2) == getcharid(2, strcharinfo(0, "", .@chkid)))
return false;
}