diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-30 19:49:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-30 19:49:18 +0300 |
commit | 624bd43ad0112ab6010c463727ae722bfba1e668 (patch) | |
tree | 0698165d7cade531e03a98a0746d3f73c767dea4 /src/net/eathena/mailrecv.cpp | |
parent | 4fbc26faae3ea4dbfc6c6346f78c8c5377720b17 (diff) | |
download | mv-624bd43ad0112ab6010c463727ae722bfba1e668.tar.gz mv-624bd43ad0112ab6010c463727ae722bfba1e668.tar.bz2 mv-624bd43ad0112ab6010c463727ae722bfba1e668.tar.xz mv-624bd43ad0112ab6010c463727ae722bfba1e668.zip |
Remove some cards number to constants.
Diffstat (limited to 'src/net/eathena/mailrecv.cpp')
-rw-r--r-- | src/net/eathena/mailrecv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/mailrecv.cpp b/src/net/eathena/mailrecv.cpp index 898c2f671..5e5f0939a 100644 --- a/src/net/eathena/mailrecv.cpp +++ b/src/net/eathena/mailrecv.cpp @@ -150,7 +150,7 @@ void MailRecv::processReadMail(Net::MessageIn &msg) Equipm_false, Equipped_false); if (slot != -1) - inventory->setCards(slot, cards, 4); + inventory->setCards(slot, cards, maxCards); mailViewWindow->updateItems(); } |