summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c5
1 files changed, 3 insertions, 2 deletions
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);