diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-20 21:42:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-20 21:53:56 +0300 |
commit | f3511bcf5aac7a46958f9cdf1649be976679d257 (patch) | |
tree | 4f8557315cc9ffdc2347ef8a09c6ea9890f7bb2f /src/net | |
parent | a4dc0e9c2b9aff1f2d6f131f263f809ee254443b (diff) | |
download | plus-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.gz plus-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.bz2 plus-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.xz plus-f3511bcf5aac7a46958f9cdf1649be976679d257.zip |
Fix code style.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 8 | ||||
-rw-r--r-- | src/net/eathena/partyrecv.cpp | 1 |
2 files changed, 6 insertions, 3 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; } diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp index 3763eb1f5..ebe7e753c 100644 --- a/src/net/eathena/partyrecv.cpp +++ b/src/net/eathena/partyrecv.cpp @@ -21,7 +21,6 @@ #include "net/eathena/partyrecv.h" -#include "actormanager.h" #include "notifymanager.h" #include "party.h" |