From 4ad076670ed93d1f2b12ac25ce5586b4975f6e37 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 20 Sep 2014 19:03:30 -0300 Subject: Fixed Bug 8272 Fixed issue where 'pvp off' mapflag would assign the map the pk zone (this would not affect the pvp status of the map, only the disabled_ settings). Special Thanks to kyeme http://hercules.ws/board/tracker/issue-8272-map-zone-db-mapflags/ Signed-off-by: shennetsind --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/npc.c b/src/map/npc.c index ac4d4555d..a33db6b99 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -3693,7 +3693,7 @@ const char* npc_parse_mapflag(char* w1, char* w2, char* w3, char* w4, const char if( state && (zone = strdb_get(map->zone_db, MAP_ZONE_PVP_NAME)) && map->list[m].zone != zone ) { map->zone_change(m,zone,start,buffer,filepath); } else if ( !state ) { - map->list[m].zone = &map->zone_pk; + map->list[m].zone = &map->zone_all; } } else if (!strcmpi(w3,"pvp_noparty")) -- cgit v1.2.3-70-g09d2