Fix for wesnothd crash and ghosts. Fixed remove_child
This commit is contained in:
parent
ab0544bee8
commit
970553ae6d
1 changed files with 1 additions and 0 deletions
|
@ -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=',');
|
||||
|
|
Loading…
Add table
Reference in a new issue