1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Better fix than r2381.

This commit is contained in:
Frank Zago 2011-09-13 03:31:17 +00:00
parent bc8bfc2c9c
commit 479a714dbf

View File

@ -695,7 +695,7 @@ CGHeroInstance::CGHeroInstance()
visitedTown = NULL;
type = NULL;
boat = NULL;
sex = 0;
sex = 0xff;
secSkills.push_back(std::make_pair(-1, -1));
speciality.setNodeType(CBonusSystemNode::SPECIALITY);
attachTo(&speciality); //do we ever need to detach it?