summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:08:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commitc7ce3fa82460fdd426fad8f6aaea0351f7d8c787 (patch)
tree1d8a1d44cebb131cb2afa7c8313c91bca47d5b9b /src/net/ea/inventoryhandler.cpp
parent3b9a97ea5f7694fd6bf5bc98d822f2385be591cb (diff)
downloadmanaverse-c7ce3fa82460fdd426fad8f6aaea0351f7d8c787.tar.gz
manaverse-c7ce3fa82460fdd426fad8f6aaea0351f7d8c787.tar.bz2
manaverse-c7ce3fa82460fdd426fad8f6aaea0351f7d8c787.tar.xz
manaverse-c7ce3fa82460fdd426fad8f6aaea0351f7d8c787.zip
fix switch label in inventoryhandler.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 68bbe85b0..f8bb619e9 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -135,7 +135,8 @@ size_t InventoryHandler::getSize(const int type) const
return 0; // Comes from server after items
case Inventory::TRADE:
return 12;
- case GUILD_STORAGE:
+ // GUILD_STORAGE
+ case Inventory::TYPE_END:
return 0; // Comes from server after items
default:
return 0;