1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Swapped skills on level-up screen

This commit is contained in:
Ivan Savenko
2014-08-19 13:15:40 +03:00
parent ecc705c8b7
commit 7e05945a6a

View File

@@ -1238,6 +1238,8 @@ std::vector<SecondarySkill> CGHeroInstance::getLevelUpProposedSecondarySkills()
none.erase(skills.back());
}
if (skills.size() == 2) // Fix for #1868 to avoid changing logic (possibly causing bugs in process)
std::swap(skills[0], skills[1]);
return skills;
}