mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fix: Map objects sometimes do not increment primary skills for some heroes
This commit is contained in:
@@ -236,6 +236,7 @@ struct DLL_LINKAGE CObstacleInfo
|
||||
|
||||
class DLL_LINKAGE CHeroClassHandler : public IHandlerBase
|
||||
{
|
||||
void fillPrimarySkillData(const JsonNode & node, CHeroClass * heroClass, PrimarySkill::PrimarySkill pSkill);
|
||||
CHeroClass *loadFromJson(const JsonNode & node, const std::string & identifier);
|
||||
public:
|
||||
std::vector< ConstTransitivePtr<CHeroClass> > heroClasses;
|
||||
|
||||
Reference in New Issue
Block a user