mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
miniscule bonus system cleanup
update comments, remove one never used method, make another method private
This commit is contained in:
@@ -625,13 +625,6 @@ void CBonusSystemNode::limitBonuses(const BonusList &allBonuses, BonusList &out)
|
||||
}
|
||||
}
|
||||
|
||||
TBonusListPtr CBonusSystemNode::limitBonuses(const BonusList &allBonuses) const
|
||||
{
|
||||
auto ret = std::make_shared<BonusList>();
|
||||
limitBonuses(allBonuses, *ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void CBonusSystemNode::treeHasChanged()
|
||||
{
|
||||
treeChanged++;
|
||||
|
||||
Reference in New Issue
Block a user