1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

Replace global bonus tree change counter with per-node counter

This commit is contained in:
Ivan Savenko
2025-01-10 23:45:02 +00:00
parent 5ec5e23534
commit e829d723b2
20 changed files with 93 additions and 121 deletions

View File

@@ -378,7 +378,6 @@ void CGameHandler::giveExperience(const CGHeroInstance * hero, TExpType amountTo
scp.which = SetCommanderProperty::EXPERIENCE;
scp.amount = amountToGain;
sendAndApply(scp);
CBonusSystemNode::treeHasChanged();
}
expGiven(hero);