don't skip blank entries when serializing REL rare item tables

This commit is contained in:
Martin Michelsen
2023-12-26 06:58:21 -08:00
parent c100d76a5b
commit 2cdebd5f20
-2
View File
@@ -185,10 +185,8 @@ RareItemSet::ParsedRELData::ParsedRELData(const SpecCollection& collection) {
throw runtime_error("monster spec cannot be converted to ItemRT format"); throw runtime_error("monster spec cannot be converted to ItemRT format");
} }
} }
if (!effective_spec.item_code.is_filled_with(0)) {
this->monster_rares.emplace_back(specs.empty() ? ExpandedDrop() : specs[0]); this->monster_rares.emplace_back(specs.empty() ? ExpandedDrop() : specs[0]);
} }
}
if (collection.box_area_to_specs.size() > 0xFF) { if (collection.box_area_to_specs.size() > 0xFF) {
throw runtime_error("area value too high"); throw runtime_error("area value too high");