From d70d41864853924a456595875b6811b74222dd7c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Jan 2015 22:15:24 +0300 Subject: Fix code style. --- src/inventory.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/inventory.cpp') diff --git a/src/inventory.cpp b/src/inventory.cpp index c6376825c..7969dfcc3 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -293,6 +293,7 @@ std::string Inventory::getName() const switch (mType) { case InventoryType::INVENTORY: + case InventoryType::TYPE_END: default: { // TRANSLATORS: inventory type name @@ -308,6 +309,16 @@ std::string Inventory::getName() const // TRANSLATORS: inventory type name return N_("Cart"); } + case InventoryType::NPC: + { + // TRANSLATORS: inventory type name + return N_("Npc"); + } + case InventoryType::TRADE: + { + // TRANSLATORS: inventory type name + return N_("Trade"); + } } } -- cgit v1.2.3-60-g2f50