summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-24 10:58:00 -0300
committershennetsind <ind@henn.et>2013-04-24 10:58:00 -0300
commit4a6e655a6fb39123363905b468a3e5dcd1451f8d (patch)
tree1acc3928a9c728f2fab6308ecbd27edeb357167f /src/map/map.c
parent5a74f3f57a671e7729d8f48cdcc1d6f9454f504b (diff)
downloadhercules-4a6e655a6fb39123363905b468a3e5dcd1451f8d.tar.gz
hercules-4a6e655a6fb39123363905b468a3e5dcd1451f8d.tar.bz2
hercules-4a6e655a6fb39123363905b468a3e5dcd1451f8d.tar.xz
hercules-4a6e655a6fb39123363905b468a3e5dcd1451f8d.zip
Fixed Map Zone DB Documentation
Added missing description on CLONE and MOB_BOSS target types, special thanks to frenzmu06! http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/?p=3508 Also fixed map zone target type "All" to include "mob_boss" and "clone" Signed-off-by: shennetsind <ind@henn.et>
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);