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

VC11 compile fix.

This commit is contained in:
Michał W. Urbańczyk
2013-04-25 08:22:04 +00:00
parent 57ea1ed1b8
commit be6aff5173

View File

@@ -276,7 +276,7 @@ void CHeroHandler::loadHeroSkills(CHero * hero, const JsonNode & node)
if (skillLevel < SecSkillLevel::LEVELS_SIZE)
{
size_t currentIndex = hero->secSkillsInit.size();
hero->secSkillsInit.push_back(std::make_pair(-1, skillLevel));
hero->secSkillsInit.push_back(std::make_pair(SecondarySkill(-1), skillLevel));
VLC->modh->identifiers.requestIdentifier("skill." + set["skill"].String(), [=](si32 id)
{