summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-31 02:20:40 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-07-31 02:20:40 +0300
commitd6a9bec8430e39b380d3fc7b1f92683d4d02c33e (patch)
tree6918d2f27174b3bc49ad4fcc301653d53adefd51 /src/inventory.h
parent306bb667908bae69d2c68ede64ef9007fd25fb78 (diff)
downloadminetest-d6a9bec8430e39b380d3fc7b1f92683d4d02c33e.tar.gz
minetest-d6a9bec8430e39b380d3fc7b1f92683d4d02c33e.tar.bz2
minetest-d6a9bec8430e39b380d3fc7b1f92683d4d02c33e.zip
Added MaterialItem conversion from old content type namespace to new
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 66b1cd1f0..53495c6e5 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -136,7 +136,7 @@ public:
virtual void serialize(std::ostream &os)
{
//os.imbue(std::locale("C"));
- os<<getName();
+ os<<"MaterialItem2";
os<<" ";
os<<(unsigned int)m_content;
os<<" ";