Remove level cap from auction search to allow finding items of any required level

This commit is contained in:
Kelsi 2026-02-25 14:45:53 -08:00
parent 1ae5fe867c
commit 889cd86fb0

View file

@ -8052,8 +8052,8 @@ void GameScreen::renderAuctionHouseWindow(game::GameHandler& gameHandler) {
auto doSearch = [&](uint32_t offset) {
auctionBrowseOffset_ = offset;
auctionLevelMin_ = std::clamp(auctionLevelMin_, 0, 80);
auctionLevelMax_ = std::clamp(auctionLevelMax_, 0, 80);
if (auctionLevelMin_ < 0) auctionLevelMin_ = 0;
if (auctionLevelMax_ < 0) auctionLevelMax_ = 0;
uint32_t q = auctionQuality_ > 0 ? static_cast<uint32_t>(auctionQuality_ - 1) : 0xFFFFFFFF;
gameHandler.auctionSearch(auctionSearchName_,
static_cast<uint8_t>(auctionLevelMin_),