|
|
@ -202,9 +202,9 @@ namespace MWGui
|
|
|
|
std::set<int> skillSet;
|
|
|
|
std::set<int> skillSet;
|
|
|
|
std::copy(major.begin(), major.end(), std::inserter(skillSet, skillSet.begin()));
|
|
|
|
std::copy(major.begin(), major.end(), std::inserter(skillSet, skillSet.begin()));
|
|
|
|
std::copy(minor.begin(), minor.end(), std::inserter(skillSet, skillSet.begin()));
|
|
|
|
std::copy(minor.begin(), minor.end(), std::inserter(skillSet, skillSet.begin()));
|
|
|
|
boost::array<ESM::Skill::SkillEnum, ESM::Skill::Length>::const_iterator end = ESM::Skill::sSkillIds.end();
|
|
|
|
std::array<ESM::Skill::SkillEnum, ESM::Skill::Length>::const_iterator end = ESM::Skill::sSkillIds.end();
|
|
|
|
mMiscSkills.clear();
|
|
|
|
mMiscSkills.clear();
|
|
|
|
for (boost::array<ESM::Skill::SkillEnum, ESM::Skill::Length>::const_iterator it = ESM::Skill::sSkillIds.begin(); it != end; ++it)
|
|
|
|
for (std::array<ESM::Skill::SkillEnum, ESM::Skill::Length>::const_iterator it = ESM::Skill::sSkillIds.begin(); it != end; ++it)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int skill = *it;
|
|
|
|
int skill = *it;
|
|
|
|
if (skillSet.find(skill) == skillSet.end())
|
|
|
|
if (skillSet.find(skill) == skillSet.end())
|
|
|
|