summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-04 02:29:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-04 02:29:22 +0300
commitc428202503a6f57e3f9381af880a6d594aca4c65 (patch)
tree242296fe51605565b8fd25470af5162c3dce0a6f /src/inventory.cpp
parentb94678289a5e671fc168ec58525b7aae2a56e6ec (diff)
downloadmv-c428202503a6f57e3f9381af880a6d594aca4c65.tar.gz
mv-c428202503a6f57e3f9381af880a6d594aca4c65.tar.bz2
mv-c428202503a6f57e3f9381af880a6d594aca4c65.tar.xz
mv-c428202503a6f57e3f9381af880a6d594aca4c65.zip
Fix compilation with different options.
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 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