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
+1 -3
View File
@@ -185,9 +185,7 @@ RareItemSet::ParsedRELData::ParsedRELData(const SpecCollection& collection) {
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) {