mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
vcmi: fix CSkillHandler crash
This commit is contained in:
parent
c4a3216288
commit
eaceb65b5c
@ -245,7 +245,6 @@ CSkill * CSkillHandler::loadFromJson(const std::string & scope, const JsonNode &
|
|||||||
skillAtLevel.iconLarge = levelNode["images"]["large"].String();
|
skillAtLevel.iconLarge = levelNode["images"]["large"].String();
|
||||||
}
|
}
|
||||||
logMod->debug("loaded secondary skill %s(%d)", identifier, (int)skill->id);
|
logMod->debug("loaded secondary skill %s(%d)", identifier, (int)skill->id);
|
||||||
logMod->trace("%s", skill->toString());
|
|
||||||
|
|
||||||
return skill;
|
return skill;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user