diff options
author | click <none@none> | 2010-04-30 22:35:37 +0200 |
---|---|---|
committer | click <none@none> | 2010-04-30 22:35:37 +0200 |
commit | 697685c3f57ffb9498e1a957333ea4fa6dd87b9a (patch) | |
tree | 096cbf097c629f7f48c00a16520db601ba5e6782 /src/game/Player.h | |
parent | 4b1a9916acb8d2a8281346a430ee178434ec0c4b (diff) |
Add support for vendors selling the same items with different extendedCost - original code by Vladimir (thanks mate)
Closes issue #1756
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Player> 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; } |