1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

sex is uninitialized (a virgin ?). Fixed a typo.

This commit is contained in:
Frank Zago 2011-09-13 01:46:11 +00:00
parent 4dedfcabd1
commit c46cb29446

View File

@ -695,9 +695,10 @@ CGHeroInstance::CGHeroInstance()
visitedTown = NULL;
type = NULL;
boat = NULL;
sex = 0;
secSkills.push_back(std::make_pair(-1, -1));
speciality.setNodeType(CBonusSystemNode::SPECIALITY);
attachTo(&speciality); //do we evert need to detach it?
attachTo(&speciality); //do we ever need to detach it?
}
void CGHeroInstance::initHero(int SUBID)