summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-30 19:49:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-30 19:49:18 +0300
commit624bd43ad0112ab6010c463727ae722bfba1e668 (patch)
tree0698165d7cade531e03a98a0746d3f73c767dea4 /src/net/eathena/mailrecv.cpp
parent4fbc26faae3ea4dbfc6c6346f78c8c5377720b17 (diff)
downloadmv-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.cpp2
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();
}