From 8a2b47d967bf544c2460dca58e14d84c7504f934 Mon Sep 17 00:00:00 2001 From: dydzio Date: Fri, 10 Feb 2017 12:19:35 +0100 Subject: [PATCH] Fix for bug #2435 --- client/windows/CKingdomInterface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/windows/CKingdomInterface.cpp b/client/windows/CKingdomInterface.cpp index 52f5c5ad8..4a979bd0b 100644 --- a/client/windows/CKingdomInterface.cpp +++ b/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);