summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 3af9d5e2e..fe01a7ded 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2452,10 +2452,7 @@ static int npc_parse_mapflag (char *w1, char *w2, char *w3, char *w4)
}
else if (strcmpi(w3,"gvg_dungeon")==0) {
map[m].flag.gvg_dungeon=state;
- map[m].flag.pvp=state;
- map[m].flag.pvp_noparty=!state;
- map[m].flag.pvp_noguild=!state;
- map[m].flag.pvp_nocalcrank=state;
+ if (state) map[m].flag.pvp=0;
}
else if (strcmpi(w3,"gvg_castle")==0) {
map[m].flag.gvg_castle=state;