When searching in the bazaar, the minimum cost was not be honoured. (#4412)

This commit is contained in:
Mitch Freeman authored and GitHub committed 2024-07-15 08:41:04 -04:00
1 parent 1e41c5517e
commit 97e332819d
1 file changed
+1 -1
+1 -1
View File
@@ -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));