diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-04 14:22:35 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 11:28:13 +0200 |
commit | 07ed57476f56c54e781ab33467d3373d976d24b1 (patch) | |
tree | 5643802c01133f963cf440c7486691c31dc31d89 /src/nodedef.cpp | |
parent | 0b21618a054fbfa9f4b5e99a5044f2b2dd1d642b (diff) | |
download | minetest-07ed57476f56c54e781ab33467d3373d976d24b1.tar.gz minetest-07ed57476f56c54e781ab33467d3373d976d24b1.tar.bz2 minetest-07ed57476f56c54e781ab33467d3373d976d24b1.zip |
itemgroup.h and ItemGroupList typedef
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r-- | src/nodedef.cpp | 2 |
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); |