|
@@ -308,9 +308,10 @@ int InfoBoxHeroData::getSubID()
|
|
|
case HERO_SECONDARY_SKILL:
|
|
case HERO_SECONDARY_SKILL:
|
|
|
if (hero->secSkills.size() > index)
|
|
if (hero->secSkills.size() > index)
|
|
|
return hero->secSkills[index].first;
|
|
return hero->secSkills[index].first;
|
|
|
|
|
+ case HERO_SPECIAL:
|
|
|
|
|
+ return hero->type->ID.getNum();
|
|
|
case HERO_MANA:
|
|
case HERO_MANA:
|
|
|
case HERO_EXPERIENCE:
|
|
case HERO_EXPERIENCE:
|
|
|
- case HERO_SPECIAL:
|
|
|
|
|
return 0;
|
|
return 0;
|
|
|
default:
|
|
default:
|
|
|
assert(0);
|
|
assert(0);
|