Explorar el Código

Update status window on receiving secondary skill to update hero stats

Ivan Savenko hace 8 meses
padre
commit
811df5f8c1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      client/CPlayerInterface.cpp

+ 1 - 0
client/CPlayerInterface.cpp

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