mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10770] Fixed auction items filering by quality.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ce09cb70a2
commit
f186ec9135
2 changed files with 2 additions and 2 deletions
|
|
@ -626,7 +626,7 @@ void AuctionHouseObject::BuildListAuctionItems(WorldPacket& data, Player* player
|
|||
if (inventoryType != 0xffffffff && proto->InventoryType != inventoryType)
|
||||
continue;
|
||||
|
||||
if (quality != 0xffffffff && proto->Quality != quality)
|
||||
if (quality != 0xffffffff && proto->Quality < quality)
|
||||
continue;
|
||||
|
||||
if (levelmin != 0x00 && (proto->RequiredLevel < levelmin || (levelmax != 0x00 && proto->RequiredLevel > levelmax)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue