From 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 May 2015 17:15:59 +0300 Subject: Build parts of inventorytype.h only if supported server enabled. --- src/inventory.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/inventory.cpp') diff --git a/src/inventory.cpp b/src/inventory.cpp index 66de463a1..c58997ce6 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -305,17 +305,17 @@ std::string Inventory::getName() const // TRANSLATORS: inventory type name return N_("Storage"); } - case InventoryType::CART: - { - // TRANSLATORS: inventory type name - return N_("Cart"); - } case InventoryType::NPC: { // TRANSLATORS: inventory type name return N_("Npc"); } #ifdef EATHENA_SUPPORT + case InventoryType::CART: + { + // TRANSLATORS: inventory type name + return N_("Cart"); + } case InventoryType::MAIL: { // TRANSLATORS: inventory type name -- cgit v1.2.3-70-g09d2