Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: trunk/EQEmuServer/zone/client_packet.cpp
- ===================================================================
- --- trunk/EQEmuServer/zone/client_packet.cpp (revision 2472)
- +++ trunk/EQEmuServer/zone/client_packet.cpp (working copy)
- @@ -5646,7 +5646,14 @@
- mpo->itemslot=mp->itemslot;
- int16 freeslotid=0;
- - ItemInst* inst = database.CreateItem(item, mp->quantity);
- + int16 charges = 0;
- + if (item->Stackable) {
- + charges = mp->quantity;
- + } else {
- + // this needs expanded to handle varying charges from the merchant, but will require merchantlist_temp changes amonst other things.
- + charges = item->MaxCharges;
- + }
- + ItemInst* inst = database.CreateItem(item, charges);
- int SinglePrice = 0;
- if (RuleB(Merchant, UsePriceMod))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement