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:
parent
a7ba336f9b
commit
c9b402a380
1 changed files with 2 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue