summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-09-20 17:44:03 -0300
committershennetsind <ind@henn.et>2014-09-20 17:44:03 -0300
commita9cbfd803a82464e9d715f806409526cedb25537 (patch)
treee5e6b6fbcc2bdca7d12f45a962404faf49d14f7d /src/map/map.c
parent36ac07469df414237e5a4f4f347087d24de82169 (diff)
downloadhercules-a9cbfd803a82464e9d715f806409526cedb25537.tar.gz
hercules-a9cbfd803a82464e9d715f806409526cedb25537.tar.bz2
hercules-a9cbfd803a82464e9d715f806409526cedb25537.tar.xz
hercules-a9cbfd803a82464e9d715f806409526cedb25537.zip
Fixed Bug 8260
Fixed issue with map zone inheritance failing to inherit subtype, and fixed MOB_BOSS subtype criteria in order to separate from non-MOB_BOSS. Special Thanks to Angelmelody, Michieru. http://hercules.ws/board/tracker/issue-8260-the-uint-type-of-map-zone-system-was-not-working-properly/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 0c8c2d949..14af392b7 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -5020,6 +5020,7 @@ void read_map_zone_db(void) {
CREATE( entry, struct map_zone_disabled_skill_entry, 1 );
entry->nameid = izone->disabled_skills[j]->nameid;
entry->type = izone->disabled_skills[j]->type;
+ entry->subtype = izone->disabled_skills[j]->subtype;
zone->disabled_skills[zone->disabled_skills_count-1] = entry;
}
}
@@ -5114,6 +5115,7 @@ void read_map_zone_db(void) {
entry->nameid = izone->capped_skills[j]->nameid;
entry->cap = izone->capped_skills[j]->cap;
entry->type = izone->capped_skills[j]->type;
+ entry->subtype = izone->capped_skills[j]->subtype;
zone->capped_skills[zone->capped_skills_count-1] = entry;
}
}