Decompile fn_03766 (CExpandedBarterMarketItemMgr::FindItem)
Batch #16702 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_03766 CExpandedBarterMarketItemMgr::FindItem: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
fea5e23a87
commit
4acd752b81
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ std::vector<BarterMarketEntry>* CExpandedBarterMarketItemMgr::GetItems()
|
|||
std::pair<bool, BarterMarketEntry> CExpandedBarterMarketItemMgr::FindItem(int id)
|
||||
{
|
||||
for (std::vector<BarterMarketEntry>::iterator it = this->items.begin(); it != this->items.end(); ++it) {
|
||||
if (it->id == id) {
|
||||
if (id == it->id) {
|
||||
return std::make_pair(true, *it);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue