summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-23 18:42:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-23 20:55:58 +0300
commitbfdee54a34531631a021f9f112186504cebde4c7 (patch)
treee49dfa982d7724497c8a7a433285e833410a0bb1 /src/net/ea/inventoryhandler.cpp
parent79864826790a33a3583819fe02893eed010381d9 (diff)
downloadmanaplus-bfdee54a34531631a021f9f112186504cebde4c7.tar.gz
manaplus-bfdee54a34531631a021f9f112186504cebde4c7.tar.bz2
manaplus-bfdee54a34531631a021f9f112186504cebde4c7.tar.xz
manaplus-bfdee54a34531631a021f9f112186504cebde4c7.zip
Add partial adding items into new mail message.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index fcee70676..b16e6db49 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -82,6 +82,7 @@ size_t InventoryHandler::getSize(const InventoryTypeT type) const
switch (type)
{
case InventoryType::Inventory:
+ case InventoryType::Mail:
return 100;
case InventoryType::Storage:
return 0; // Comes from server after items
@@ -90,7 +91,6 @@ size_t InventoryHandler::getSize(const InventoryTypeT type) const
case InventoryType::Npc:
case InventoryType::Cart:
case InventoryType::Vending:
- case InventoryType::Mail:
case InventoryType::Craft:
case InventoryType::TypeEnd:
default: