1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Remove unneccessary code

This commit is contained in:
Tomasz Zieliński 2023-12-09 15:20:11 +01:00
parent cef25cca03
commit 134f78113e

View File

@ -285,8 +285,6 @@ CGHeroInstance::CGHeroInstance():
setNodeType(HERO);
ID = Obj::HERO;
secSkills.emplace_back(SecondarySkill::NONE, -1);
blockVisit = true;
removable = true;
}
PlayerColor CGHeroInstance::getOwner() const
@ -307,7 +305,6 @@ void CGHeroInstance::setHeroType(HeroTypeID heroType)
void CGHeroInstance::initHero(CRandomGenerator & rand, const HeroTypeID & SUBID)
{
blockVisit = true;
subID = SUBID.getNum();
initHero(rand);
}