mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Merge pull request #356 from clucksoft/rof_merchantlist
Rof merchantlist
This commit is contained in:
commit
c06c69c420
@ -960,6 +960,9 @@ void Client::BulkSendInventoryItems()
|
|||||||
void Client::BulkSendMerchantInventory(int merchant_id, int npcid) {
|
void Client::BulkSendMerchantInventory(int merchant_id, int npcid) {
|
||||||
const Item_Struct* handyitem = nullptr;
|
const Item_Struct* handyitem = nullptr;
|
||||||
uint32 numItemSlots = 80; //The max number of items passed in the transaction.
|
uint32 numItemSlots = 80; //The max number of items passed in the transaction.
|
||||||
|
if (ClientVersionBit & BIT_RoFAndLater) { // RoF+ can send 200 items
|
||||||
|
numItemSlots = 200;
|
||||||
|
}
|
||||||
const Item_Struct *item;
|
const Item_Struct *item;
|
||||||
std::list<MerchantList> merlist = zone->merchanttable[merchant_id];
|
std::list<MerchantList> merlist = zone->merchanttable[merchant_id];
|
||||||
std::list<MerchantList>::const_iterator itr;
|
std::list<MerchantList>::const_iterator itr;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user