summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
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");
+ }
}
}