Allow -ExtendedCostID and ExtendedCostID to be in the same vendor´s item list.
--HG-- branch : trunk
This commit is contained in:
@@ -8486,7 +8486,7 @@ bool ObjectMgr::IsVendorItemValid(uint32 vendor_entry, uint32 item_id, int32 max
|
|||||||
if (!vItems)
|
if (!vItems)
|
||||||
return true; // later checks for non-empty lists
|
return true; // later checks for non-empty lists
|
||||||
|
|
||||||
if(vItems->FindItemCostPair(item_id,extendedCostId))
|
if (vItems->FindItemCostPair(item_id, ExtendedCost))
|
||||||
{
|
{
|
||||||
if (pl)
|
if (pl)
|
||||||
ChatHandler(pl).PSendSysMessage(LANG_ITEM_ALREADY_IN_LIST, item_id, extendedCostId);
|
ChatHandler(pl).PSendSysMessage(LANG_ITEM_ALREADY_IN_LIST, item_id, extendedCostId);
|
||||||
|
|||||||
Reference in New Issue
Block a user