aboutsummaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index df75ebcd5..7c31c85c8 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -458,6 +458,11 @@ void InventoryList::setSize(u32 newsize)
m_size = newsize;
}
+void InventoryList::setName(const std::string &name)
+{
+ m_name = name;
+}
+
void InventoryList::serialize(std::ostream &os) const
{
//os.imbue(std::locale("C"));