diff --git a/Player.cc b/Player.cc index e18f36be..6a1618bb 100644 --- a/Player.cc +++ b/Player.cc @@ -407,7 +407,7 @@ static const unordered_map 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 {