1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00

Update status window on receiving secondary skill to update hero stats

This commit is contained in:
Ivan Savenko
2025-02-19 17:36:02 +00:00
parent 0ed42f8946
commit 811df5f8c1

View File

@@ -491,6 +491,7 @@ void CPlayerInterface::heroSecondarySkillChanged(const CGHeroInstance * hero, in
cuw->updateSecondarySkills();
localState->verifyPath(hero);
adventureInt->onHeroChanged(hero);// secondary skill can change primary skill / mana limit
}
void CPlayerInterface::heroManaPointsChanged(const CGHeroInstance * hero)