mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +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)
|
if (inventoryType != 0xffffffff && proto->InventoryType != inventoryType)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (quality != 0xffffffff && proto->Quality != quality)
|
if (quality != 0xffffffff && proto->Quality < quality)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (levelmin != 0x00 && (proto->RequiredLevel < levelmin || (levelmax != 0x00 && proto->RequiredLevel > levelmax)))
|
if (levelmin != 0x00 && (proto->RequiredLevel < levelmin || (levelmax != 0x00 && proto->RequiredLevel > levelmax)))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10769"
|
#define REVISION_NR "10770"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue