Allow -ExtendedCostID and ExtendedCostID to be in the same vendor´s item list.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-06-21 23:41:28 +02:00
parent 95ddfbd9e2
commit a9cfe876fa
+1 -1
View File
@@ -8486,7 +8486,7 @@ bool ObjectMgr::IsVendorItemValid(uint32 vendor_entry, uint32 item_id, int32 max
if (!vItems)
return true; // later checks for non-empty lists
if(vItems->FindItemCostPair(item_id,extendedCostId))
if (vItems->FindItemCostPair(item_id, ExtendedCost))
{
if (pl)
ChatHandler(pl).PSendSysMessage(LANG_ITEM_ALREADY_IN_LIST, item_id, extendedCostId);