summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-17 18:26:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-17 18:26:38 +0300
commite4abfb651d51670fcf85093b55189065c151cc14 (patch)
tree2cb0f32630dce231c2b49263992b927549a9ad66 /src/inventory.cpp
parent55d8a042bb195d3c020a3296233b698ef6b109df (diff)
downloadmv-e4abfb651d51670fcf85093b55189065c151cc14.tar.gz
mv-e4abfb651d51670fcf85093b55189065c151cc14.tar.bz2
mv-e4abfb651d51670fcf85093b55189065c151cc14.tar.xz
mv-e4abfb651d51670fcf85093b55189065c151cc14.zip
Add eathena defines into inventorytype enum.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 7f05a2472..c2e9daf1e 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -291,7 +291,9 @@ std::string Inventory::getName() const
switch (mType)
{
case InventoryType::INVENTORY:
+#ifdef EATHENA_SUPPORT
case InventoryType::VENDING:
+#endif
case InventoryType::TYPE_END:
default:
{