mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 20:51:29 +00:00
RoF+ can send 200 items in merchantlist
This commit is contained in:
parent
fe6fa75385
commit
1e8916ee98
@ -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