From 97e332819df2019dff06d18a128d92d2236f36ea Mon Sep 17 00:00:00 2001 From: Mitch Freeman <65987027+neckkola@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:41:04 -0300 Subject: [PATCH] When searching in the bazaar, the minimum cost was not be honoured. (#4412) --- common/bazaar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bazaar.cpp b/common/bazaar.cpp index a3f3a121e..47b2a7dc8 100644 --- a/common/bazaar.cpp +++ b/common/bazaar.cpp @@ -47,7 +47,7 @@ Bazaar::GetSearchResults( search_criteria_trader.append(fmt::format(" AND trader.char_id = {}", search.trader_id)); } if (search.min_cost != 0) { - search_criteria_trader.append(fmt::format(" AND trader.item_cost >= {}", search.min_cost)); + search_criteria_trader.append(fmt::format(" AND trader.item_cost >= {}", search.min_cost * 1000)); } if (search.max_cost != 0) { search_criteria_trader.append(fmt::format(" AND trader.item_cost <= {}", (uint64) search.max_cost * 1000));