mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Renamed JsonNode::meta to more logical modScope. Member is now private
This commit is contained in:
@@ -321,7 +321,7 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
{
|
||||
for(const auto & pair : value.Struct())
|
||||
{
|
||||
PrimarySkill id = decodeKey<PrimarySkill>(pair.second.meta, pair.first, variables);
|
||||
PrimarySkill id = decodeKey<PrimarySkill>(pair.second.getModScope(), pair.first, variables);
|
||||
ret[id.getNum()] += loadValue(pair.second, rng, variables);
|
||||
}
|
||||
}
|
||||
@@ -357,7 +357,7 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
{
|
||||
for(const auto & pair : value.Struct())
|
||||
{
|
||||
SecondarySkill id = decodeKey<SecondarySkill>(pair.second.meta, pair.first, variables);
|
||||
SecondarySkill id = decodeKey<SecondarySkill>(pair.second.getModScope(), pair.first, variables);
|
||||
ret[id] = loadValue(pair.second, rng, variables);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user