mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
CMap removed from CArtifactSet level
This commit is contained in:
@@ -407,7 +407,8 @@ CGHeroInstance * CampaignState::crossoverDeserialize(const JsonNode & node, CMap
|
||||
hero->ID = Obj::HERO;
|
||||
hero->serializeJsonOptions(handler);
|
||||
if (map)
|
||||
hero->serializeJsonArtifacts(handler, "artifacts", map);
|
||||
hero->serializeJsonArtifacts(handler, "artifacts");
|
||||
map->addNewArtifactInstance(*hero);
|
||||
return hero;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user