summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-05 17:15:59 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-05 17:15:59 +0300
commit45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (patch)
tree5f7da40a39218322b09338d990bf2bda4cd49b80 /src/inventory.cpp
parent84c27f3885cc075070876603c223b00fc763eb43 (diff)
downloadplus-45460ca58b3cbf6d92fe3cac1311bbfc9d00e841.tar.gz
plus-45460ca58b3cbf6d92fe3cac1311bbfc9d00e841.tar.bz2
plus-45460ca58b3cbf6d92fe3cac1311bbfc9d00e841.tar.xz
plus-45460ca58b3cbf6d92fe3cac1311bbfc9d00e841.zip
Build parts of inventorytype.h only if supported server enabled.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp10
1 files changed, 5 insertions, 5 deletions
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