fix bug in item identifiers

This commit is contained in:
Martin Michelsen
2019-10-16 22:31:52 -07:00
parent 15fb00f7df
commit fa41dab13e
+1 -1
View File
@@ -407,7 +407,7 @@ static const unordered_map<uint32_t, uint32_t> combine_item_to_max({
const uint32_t meseta_identifier = 0x00000004;
uint32_t ItemData::primary_identifier() const {
return (this->item_data1[0] << 16) || (this->item_data1[1] << 8) | this->item_data1[2];
return (this->item_data1[0] << 16) | (this->item_data1[1] << 8) | this->item_data1[2];
}
PlayerBankItem PlayerInventoryItem::to_bank_item() const {