summaryrefslogtreecommitdiff
path: root/src/net
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
parent79864826790a33a3583819fe02893eed010381d9 (diff)
downloadmanaverse-bfdee54a34531631a021f9f112186504cebde4c7.tar.gz
manaverse-bfdee54a34531631a021f9f112186504cebde4c7.tar.bz2
manaverse-bfdee54a34531631a021f9f112186504cebde4c7.tar.xz
manaverse-bfdee54a34531631a021f9f112186504cebde4c7.zip
Add partial adding items into new mail message.
Diffstat (limited to 'src/net')
-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: