mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
itemgroup.h and ItemGroupList typedef
This commit is contained in:
parent
0b21618a05
commit
07ed57476f
7 changed files with 17 additions and 28 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue