diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 17:15:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 17:15:59 +0300 |
commit | 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (patch) | |
tree | 5f7da40a39218322b09338d990bf2bda4cd49b80 /src/inventory.cpp | |
parent | 84c27f3885cc075070876603c223b00fc763eb43 (diff) | |
download | mv-45460ca58b3cbf6d92fe3cac1311bbfc9d00e841.tar.gz mv-45460ca58b3cbf6d92fe3cac1311bbfc9d00e841.tar.bz2 mv-45460ca58b3cbf6d92fe3cac1311bbfc9d00e841.tar.xz mv-45460ca58b3cbf6d92fe3cac1311bbfc9d00e841.zip |
Build parts of inventorytype.h only if supported server enabled.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 10 |
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 |