mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
HeroBonus: remove unused function
This commit is contained in:
parent
b7d6270272
commit
0c7dbea990
@ -1418,13 +1418,6 @@ void CBonusSystemNode::getRedAncestors(TNodes &out)
|
||||
parent->getRedAncestors(out);
|
||||
}
|
||||
|
||||
void CBonusSystemNode::getRedDescendants(TNodes &out)
|
||||
{
|
||||
getRedChildren(out);
|
||||
FOREACH_RED_CHILD(c)
|
||||
c->getRedChildren(out);
|
||||
}
|
||||
|
||||
void CBonusSystemNode::exportBonus(const std::shared_ptr<Bonus> & b)
|
||||
{
|
||||
if(b->propagator)
|
||||
|
@ -813,7 +813,6 @@ public:
|
||||
void getRedParents(TNodes &out); //retrieves list of red parent nodes (nodes bonuses propagate from)
|
||||
void getRedAncestors(TNodes &out);
|
||||
void getRedChildren(TNodes &out);
|
||||
void getRedDescendants(TNodes &out);
|
||||
void getAllParents(TCNodes & out) const;
|
||||
static PlayerColor retrieveNodeOwner(const CBonusSystemNode * node);
|
||||
std::shared_ptr<Bonus> getBonusLocalFirst(const CSelector & selector);
|
||||
|
Loading…
Reference in New Issue
Block a user