From 889cd86fb09d825db23897af73d70c07f63c0bd0 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 25 Feb 2026 14:45:53 -0800 Subject: [PATCH] Remove level cap from auction search to allow finding items of any required level --- src/ui/game_screen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/game_screen.cpp b/src/ui/game_screen.cpp index 75c91a10..44a37578 100644 --- a/src/ui/game_screen.cpp +++ b/src/ui/game_screen.cpp @@ -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(auctionQuality_ - 1) : 0xFFFFFFFF; gameHandler.auctionSearch(auctionSearchName_, static_cast(auctionLevelMin_),