summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-24 15:31:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-24 15:31:06 +0300
commit3f5c128b889b4cb41f9782fe1531c55e7d07432f (patch)
treeb5903e10142f876d29bf4d4643261f1b058fefe9 /src/inventory.cpp
parentc53839e9125a72e2bbc5e479934b5b9111bef5d6 (diff)
downloadmanaverse-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.gz
manaverse-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.bz2
manaverse-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.xz
manaverse-3f5c128b889b4cb41f9782fe1531c55e7d07432f.zip
Move inventory type into separate file.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 4c13db1a4..be480f743 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -292,18 +292,18 @@ std::string Inventory::getName() const
{
switch (mType)
{
- case INVENTORY:
+ case InventoryType::INVENTORY:
default:
{
// TRANSLATORS: inventory type name
return N_("Inventory");
}
- case STORAGE:
+ case InventoryType::STORAGE:
{
// TRANSLATORS: inventory type name
return N_("Storage");
}
- case CART:
+ case InventoryType::CART:
{
// TRANSLATORS: inventory type name
return N_("Cart");