diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 00:32:49 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:01 +0300 |
commit | 81c5e5200bcc20be6b1513a440b2c45985fe3c49 (patch) | |
tree | a82c21e853b297203e278b97f5752a08b14be848 /src/inventory.cpp | |
parent | 9c3830dd35e7fdf601d83fcd969b67dd3fe189d3 (diff) | |
download | minetest-81c5e5200bcc20be6b1513a440b2c45985fe3c49.tar.gz minetest-81c5e5200bcc20be6b1513a440b2c45985fe3c49.tar.bz2 minetest-81c5e5200bcc20be6b1513a440b2c45985fe3c49.zip |
Fix loading of legacy chests
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 5 |
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")); |