mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
When searching in the bazaar, the minimum cost was not be honoured. (#4412)
This commit is contained in:
parent
1e41c5517e
commit
97e332819d
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user