mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-30 08:57:00 +02:00
Merge pull request #280 from dydzio0614/KingdomOverviewFix
Nice, thanks :)
This commit is contained in:
commit
fd5b94d1f8
@ -308,9 +308,10 @@ int InfoBoxHeroData::getSubID()
|
||||
case HERO_SECONDARY_SKILL:
|
||||
if (hero->secSkills.size() > index)
|
||||
return hero->secSkills[index].first;
|
||||
case HERO_SPECIAL:
|
||||
return hero->type->ID.getNum();
|
||||
case HERO_MANA:
|
||||
case HERO_EXPERIENCE:
|
||||
case HERO_SPECIAL:
|
||||
return 0;
|
||||
default:
|
||||
assert(0);
|
||||
|
Loading…
Reference in New Issue
Block a user