From c428202503a6f57e3f9381af880a6d594aca4c65 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 May 2015 02:29:22 +0300 Subject: Fix compilation with different options. --- 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 f2acdbeda..66de463a1 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -315,11 +315,13 @@ std::string Inventory::getName() const // TRANSLATORS: inventory type name return N_("Npc"); } +#ifdef EATHENA_SUPPORT case InventoryType::MAIL: { // TRANSLATORS: inventory type name return N_("Mail"); } +#endif case InventoryType::TRADE: { // TRANSLATORS: inventory type name -- cgit v1.2.3-60-g2f50