From 4acd752b81e56be77f62944ae99f7eb95c0b77cd Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 02:56:37 +0000 Subject: [PATCH] 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. --- Source/Contents/Items/BarterMarketItemMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Contents/Items/BarterMarketItemMgr.cpp b/Source/Contents/Items/BarterMarketItemMgr.cpp index e3ebdc326..542a27a4f 100644 --- a/Source/Contents/Items/BarterMarketItemMgr.cpp +++ b/Source/Contents/Items/BarterMarketItemMgr.cpp @@ -535,7 +535,7 @@ std::vector* CExpandedBarterMarketItemMgr::GetItems() std::pair CExpandedBarterMarketItemMgr::FindItem(int id) { for (std::vector::iterator it = this->items.begin(); it != this->items.end(); ++it) { - if (it->id == id) { + if (id == it->id) { return std::make_pair(true, *it); } }