Fix for wesnothd crash and ghosts. Fixed remove_child

This commit is contained in:
uid69097 2004-01-11 22:57:34 +00:00
parent ab0544bee8
commit 970553ae6d

View file

@ -124,6 +124,7 @@ struct config
child_list& v = children[key];
assert(index < v.size());
v.erase(v.begin()+index);
ordered_children.erase(ordered_children.end());
}
static std::vector<std::string> split(const std::string& val, char c=',');