summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter-parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-interpreter-parser.y')
-rw-r--r--src/map/magic-interpreter-parser.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/magic-interpreter-parser.y b/src/map/magic-interpreter-parser.y
index deb686d..047e38c 100644
--- a/src/map/magic-interpreter-parser.y
+++ b/src/map/magic-interpreter-parser.y
@@ -154,6 +154,7 @@ find_constant(char *name);
%token ATEND
%token ATTRIGGER
%token PC_F
+%token NPC_F
%token MOB_F
%token ENTITY_F
%token TARGET_F
@@ -612,6 +613,8 @@ selection : PC_F
{ $$ = FOREACH_FILTER_SPELL; }
| TARGET_F
{ $$ = FOREACH_FILTER_TARGET; }
+ | NPC_F
+ { $$ = FOREACH_FILTER_NPC; }
;