summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-02 12:12:07 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-02 12:12:07 +0200
commit69bc9224dbfb5609af140d8ec5c791763e3f4295 (patch)
treefcd4732efd85f4323400e5be9a523db7d8e700e1 /src/inventory.h
parenta17efe6e8f069de7a51c2fc5fd89ee3fbe65ff28 (diff)
downloadminetest-69bc9224dbfb5609af140d8ec5c791763e3f4295.tar.gz
minetest-69bc9224dbfb5609af140d8ec5c791763e3f4295.tar.bz2
minetest-69bc9224dbfb5609af140d8ec5c791763e3f4295.zip
Rename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 24591f33f..93a29764c 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -158,7 +158,7 @@ public:
}
virtual void serialize(std::ostream &os) const
{
- os<<"NodeItem";
+ os<<"node";
os<<" \"";
os<<m_nodename;
os<<"\" ";
@@ -249,7 +249,7 @@ public:
}
virtual void serialize(std::ostream &os) const
{
- os<<getName();
+ os<<"craft";
os<<" \"";
os<<m_subname;
os<<"\" ";
@@ -345,7 +345,7 @@ public:
}
virtual void serialize(std::ostream &os) const
{
- os<<getName();
+ os<<"tool";
os<<" \"";
os<<m_toolname;
os<<"\" ";