diff options
Diffstat (limited to 'src/net/eathena/mail2recv.cpp')
-rw-r--r-- | src/net/eathena/mail2recv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp index a2080c88c..fdaf34f1d 100644 --- a/src/net/eathena/mail2recv.cpp +++ b/src/net/eathena/mail2recv.cpp @@ -159,7 +159,7 @@ void Mail2Recv::processAddItemResult(Net::MessageIn &msg) delete options; return; } - inventory->setCards(slot, cards, 4); + inventory->setCards(slot, cards, maxCards); inventory->setOptions(slot, options); inventory->setTag(slot, index); mailEditWindow->updateItems(); @@ -431,7 +431,7 @@ void Mail2Recv::processReadMail(Net::MessageIn &msg) delete options; continue; } - inventory->setCards(slot, cards, 4); + inventory->setCards(slot, cards, maxCards); inventory->setOptions(slot, options); delete options; } |