summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/pre-re/map_zone_db.conf2
-rw-r--r--db/re/map_zone_db.conf2
-rw-r--r--src/map/map.c5
3 files changed, 5 insertions, 4 deletions
diff --git a/db/pre-re/map_zone_db.conf b/db/pre-re/map_zone_db.conf
index 6fb18084b..ea995b712 100644
--- a/db/pre-re/map_zone_db.conf
+++ b/db/pre-re/map_zone_db.conf
@@ -16,7 +16,7 @@
//= maps can be linked to a specific zone through the zone mapflag
//= '<map name><tab>mapflag<tab>zone<tab><zone name>'
//== available types for 'disabled_skills':
-//= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, ALL and NONE
+//= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, MOB_BOSS, CLONE, ALL and NONE
//== More on
//= http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/
//= (TODO: replace with wiki link and detail the wiki page in a decent format ^)
diff --git a/db/re/map_zone_db.conf b/db/re/map_zone_db.conf
index 6fb18084b..ea995b712 100644
--- a/db/re/map_zone_db.conf
+++ b/db/re/map_zone_db.conf
@@ -16,7 +16,7 @@
//= maps can be linked to a specific zone through the zone mapflag
//= '<map name><tab>mapflag<tab>zone<tab><zone name>'
//== available types for 'disabled_skills':
-//= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, ALL and NONE
+//= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, MOB_BOSS, CLONE, ALL and NONE
//== More on
//= http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/
//= (TODO: replace with wiki link and detail the wiki page in a decent format ^)
diff --git a/src/map/map.c b/src/map/map.c
index c65157cb2..1bbad1d40 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -4500,9 +4500,10 @@ enum bl_type map_zone_bl_type(const char *entry, enum map_zone_skill_subtype *su
bl |= BL_ELEM;
else if( strcmpi(parse,"pet") == 0 )
bl |= BL_PET;
- else if( strcmpi(parse,"all") == 0 )
+ else if( strcmpi(parse,"all") == 0 ) {
bl |= BL_ALL;
- else if( strcmpi(parse,"none") == 0 ) {
+ *subtype |= MZS_ALL;
+ } else if( strcmpi(parse,"none") == 0 ) {
bl = BL_NUL;
} else {
ShowError("map_zone_db: '%s' unknown type, skipping...\n",parse);