summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
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<<"\" ";