fix some names in ItemCreator

This commit is contained in:
Martin Michelsen
2023-03-30 09:39:21 -07:00
parent dd1c5a2d0c
commit 2ed6427773
4 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -328,7 +328,7 @@ ItemData ItemCreator::check_rate_and_create_rare_item(
}
this->clear_item_if_restricted(item);
this->set_item_unidentified_or_present_flags_if_unsealable(item);
this->set_item_kill_count_if_unsealable(item);
return item;
}
@@ -390,9 +390,9 @@ void ItemCreator::deduplicate_weapon_bonuses(ItemData& item) const {
}
}
void ItemCreator::set_item_unidentified_or_present_flags_if_unsealable(ItemData& item) const {
void ItemCreator::set_item_kill_count_if_unsealable(ItemData& item) const {
if (this->item_parameter_table->is_unsealable_item(item)) {
item.set_unidentified_or_present_flag(0);
item.set_sealed_item_kill_count(0);
}
}
@@ -552,7 +552,7 @@ void ItemCreator::generate_common_item_variances(
}
this->clear_item_if_restricted(item);
this->set_item_unidentified_or_present_flags_if_unsealable(item);
this->set_item_kill_count_if_unsealable(item);
}
void ItemCreator::generate_common_armor_or_shield_type_and_variances(