From 697685c3f57ffb9498e1a957333ea4fa6dd87b9a Mon Sep 17 00:00:00 2001 From: click Date: Fri, 30 Apr 2010 22:35:37 +0200 Subject: Add support for vendors selling the same items with different extendedCost - original code by Vladimir (thanks mate) Closes issue #1756 --HG-- branch : trunk --- src/game/Player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Player.h') diff --git a/src/game/Player.h b/src/game/Player.h index 22af6a370ca..9cfcd2d6152 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1251,7 +1251,7 @@ class Player : public Unit, public GridObject return mainItem && mainItem->GetProto()->InventoryType == INVTYPE_2HWEAPON && !CanTitanGrip(); } void SendNewItem(Item *item, uint32 count, bool received, bool created, bool broadcast = false); - bool BuyItemFromVendor(uint64 vendorguid, uint32 item, uint8 count, uint8 bag, uint8 slot); + bool BuyItemFromVendorSlot(uint64 vendorguid, uint32 vendorslot, uint32 item, uint8 count, uint8 bag, uint8 slot); float GetReputationPriceDiscount(Creature const* pCreature) const; Player* GetTrader() const { return pTrader; } -- cgit v1.2.3