Browse Source

Merge pull request #280 from dydzio0614/KingdomOverviewFix

Nice, thanks :)
DjWarmonger 8 years ago
parent
commit
fd5b94d1f8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      client/windows/CKingdomInterface.cpp

+ 2 - 1
client/windows/CKingdomInterface.cpp

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