1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
This commit is contained in:
dydzio 2017-02-10 12:19:35 +01:00
parent 53b2add434
commit 8a2b47d967

View File

@ -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);