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:
ragnarok-clanker 2026-11-11 02:56:37 +00:00
commit 4acd752b81

View file

@ -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);
}
}