1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Stabilization

This commit is contained in:
Ivan Savenko
2024-01-10 19:43:34 +02:00
parent 60ffb81b33
commit ea1f05d15a
10 changed files with 28 additions and 13 deletions

View File

@ -304,7 +304,7 @@ void CBonusSystemNode::detachFromSource(const CBonusSystemNode & parent)
parent.removedRedDescendant(*this);
}
if (vstd::contains(parentsToPropagate, &parent))
if (vstd::contains(parentsToInherit, &parent))
{
parentsToInherit -= &parent;
}
@ -581,9 +581,9 @@ CBonusSystemNode::ENodeTypes CBonusSystemNode::getNodeType() const
return nodeType;
}
const TNodesVector& CBonusSystemNode::getParentNodes() const
const TCNodesVector& CBonusSystemNode::getParentNodes() const
{
return parentsToPropagate;
return parentsToInherit;
}
void CBonusSystemNode::setNodeType(CBonusSystemNode::ENodeTypes type)