From 81c5e5200bcc20be6b1513a440b2c45985fe3c49 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 3 Jun 2012 00:32:49 +0300 Subject: Fix loading of legacy chests --- src/inventory.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/inventory.cpp') 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")); -- cgit v1.2.3