summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-20 21:42:31 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-20 21:53:56 +0300
commitf3511bcf5aac7a46958f9cdf1649be976679d257 (patch)
tree4f8557315cc9ffdc2347ef8a09c6ea9890f7bb2f /src/net/ea/inventoryhandler.cpp
parenta4dc0e9c2b9aff1f2d6f131f263f809ee254443b (diff)
downloadmanaplus-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.gz
manaplus-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.bz2
manaplus-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.xz
manaplus-f3511bcf5aac7a46958f9cdf1649be976679d257.zip
Fix code style.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index b1aa87020..44931ae8a 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -91,9 +91,13 @@ size_t InventoryHandler::getSize(const InventoryTypeT type) const
return 0; // Comes from server after items
case InventoryType::Trade:
return 12;
- // GUILD_STORAGE
+ case InventoryType::Npc:
+#ifdef EATHENA_SUPPORT
+ case InventoryType::Cart:
+ case InventoryType::Vending:
+ case InventoryType::Mail:
+#endif
case InventoryType::TypeEnd:
- return 0; // Comes from server after items
default:
return 0;
}