summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-30 22:15:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-30 22:15:24 +0300
commitd70d41864853924a456595875b6811b74222dd7c (patch)
tree99485951528734a54cd2f8ad297e76860f7ba9d4 /src/inventory.cpp
parenta619290b502486ea5b1ff5dd604864ab78c5edc9 (diff)
downloadmv-d70d41864853924a456595875b6811b74222dd7c.tar.gz
mv-d70d41864853924a456595875b6811b74222dd7c.tar.bz2
mv-d70d41864853924a456595875b6811b74222dd7c.tar.xz
mv-d70d41864853924a456595875b6811b74222dd7c.zip
Fix code style.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp11
1 files changed, 11 insertions, 0 deletions
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");
+ }
}
}