Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- zone/client_packet.cpp | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
- diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp
- index 1ec8f99..a5b9bed 100644
- --- a/zone/client_packet.cpp
- +++ b/zone/client_packet.cpp
- @@ -2607,7 +2607,7 @@ void Client::Handle_OP_AltCurrencyReclaim(const EQApplicationPacket *app)
- ++iter;
- }
- - if (item_id == 0 || reclaim->count == 0) {
- + if (item_id == 0) {
- return;
- }
- @@ -2627,7 +2627,10 @@ void Client::Handle_OP_AltCurrencyReclaim(const EQApplicationPacket *app)
- /* Cursor to Item storage */
- else {
- uint32 max_currency = GetAlternateCurrencyValue(reclaim->currency_id);
- -
- +
- + if(max_currency == 0)
- + return; //Since summon item works with 0!!
- +
- /* If you input more than you have currency wise, just give the max of the currency you currently have */
- if (reclaim->count > max_currency) {
- SummonItem(item_id, max_currency);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement