Decompile fn_06197 (EquipmentProperties::CEquipmentPropertiesMgr::LoadItems)

Batch #16575 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_06197 EquipmentProperties::CEquipmentPropertiesMgr::LoadItems: logic confirmed by peer review

Peer-reviewed-by: Yommy, alisonrag, br4yan
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-10 22:25:55 +00:00
commit c9b402a380

View file

@ -7101,10 +7101,7 @@ void EquipmentProperties::CEquipmentPropertiesMgr::LoadItems() {
int count = 0;
if (hasType) {
unsigned int hash = 5381;
for (const char* character = itemType.c_str(); *character != '\0'; ++character) {
hash = hash * 33 + *character;
}
unsigned int hash = HashName(itemType.c_str());
switch (hash) {
case 0x0F1AAAA6:
info.kind = 1;
@ -7136,10 +7133,7 @@ void EquipmentProperties::CEquipmentPropertiesMgr::LoadItems() {
break;
}
unsigned int hash = 5381;
for (const char* character = itemType.c_str(); *character != '\0'; ++character) {
hash = hash * 33 + *character;
}
unsigned int hash = HashName(itemType.c_str());
switch (hash) {
case 0x0F1AAAA6:
for (int index = 0; index < count; ++index) {