aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r--src/nodedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index 7d0408eb7..cc8009ab7 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -154,7 +154,7 @@ void ContentFeatures::serialize(std::ostream &os)
writeU8(os, 2); // version
os<<serializeString(name);
writeU16(os, groups.size());
- for(std::map<std::string, int>::const_iterator
+ for(ItemGroupList::const_iterator
i = groups.begin(); i != groups.end(); i++){
os<<serializeString(i->first);
writeS16(os, i->second);