mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Remove level cap from auction search to allow finding items of any required level
This commit is contained in:
parent
1ae5fe867c
commit
889cd86fb0
1 changed files with 2 additions and 2 deletions
|
|
@ -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_),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue