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:
parent
4dedfcabd1
commit
c46cb29446
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user