From 3f5c128b889b4cb41f9782fe1531c55e7d07432f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Jan 2015 15:31:06 +0300 Subject: Move inventory type into separate file. --- src/inventory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/inventory.cpp') 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"); -- cgit v1.2.3-60-g2f50