summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 03:18:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 03:18:49 +0300
commite72b6ef50fbfe22d3c856e06db00d55643a4c148 (patch)
tree5d01d23e312dd28408d98c6146518e964f81c23b /src/net/ea/inventoryhandler.cpp
parentee12ea1f64fe7efcbfdba7e663de1663f3367834 (diff)
downloadmanaplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.gz
manaplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.bz2
manaplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.tar.xz
manaplus-e72b6ef50fbfe22d3c856e06db00d55643a4c148.zip
Add inventory type for mail view window. Not allow drag from/to this inventory.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index fde40c7ad..1f816f7c1 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -93,6 +93,7 @@ size_t InventoryHandler::getSize(const InventoryTypeT type) const
case InventoryType::Vending:
case InventoryType::Craft:
case InventoryType::TypeEnd:
+ case InventoryType::MailView:
default:
return 0;
}