summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-24 16:05:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-24 16:05:23 +0300
commitd6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb (patch)
tree440b21fa9ec5ced1e0222ef42c7aa5f24dbfc39c /src/inventory.cpp
parent3f5c128b889b4cb41f9782fe1531c55e7d07432f (diff)
downloadmanaverse-d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb.tar.gz
manaverse-d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb.tar.bz2
manaverse-d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb.tar.xz
manaverse-d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb.zip
Use InventoryType for inventory type.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index be480f743..c6376825c 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -53,7 +53,7 @@ namespace
};
} // namespace
-Inventory::Inventory(const int type, const int size1) :
+Inventory::Inventory(const InventoryType::Type type, const int size1) :
mInventoryListeners(),
mType(type),
mSize(size1 == -1 ? static_cast<unsigned>(