1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

- Fixed serialization of limiters

- Hero can now can have several separate specialty nodes
- Fixed typo (speciality->specialty)
- Fixed several crashes related to commanders
- Improvements to specialty handling, bugfixes and temporary solutions for upcoming hero specialties in mods
This commit is contained in:
DjWarmonger
2013-01-17 18:15:00 +00:00
parent 36469f406c
commit ce15eb37c2
14 changed files with 123 additions and 88 deletions

View File

@ -950,8 +950,8 @@ DLL_LINKAGE void HeroLevelUp::applyGs( CGameState *gs )
{
CGHeroInstance* h = gs->getHero(heroid);
h->level = level;
//speciality
h->UpdateSpeciality();
//specialty
h->Updatespecialty();
}
DLL_LINKAGE void CommanderLevelUp::applyGs (CGameState *gs)