From e4abfb651d51670fcf85093b55189065c151cc14 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Apr 2015 18:26:38 +0300 Subject: Add eathena defines into inventorytype enum. --- src/inventory.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/inventory.cpp') 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: { -- cgit v1.2.3-60-g2f50