mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
committed by
Andrii Danylchenko
parent
5862c192b0
commit
08ecf4cf4c
@ -422,17 +422,6 @@ std::vector<CGHeroInstance *> CCampaignScenario::getLostCrossoverHeroes()
|
||||
return lostCrossoverHeroes;
|
||||
}
|
||||
|
||||
std::vector<JsonNode> CCampaignScenario::update787(std::vector<CGHeroInstance *> & heroes)
|
||||
{
|
||||
static_assert(MINIMAL_SERIALIZATION_VERSION < 787, "No longer needed CCampaignScenario::update787");
|
||||
std::vector<JsonNode> heroesNew;
|
||||
for(auto hero : heroes)
|
||||
{
|
||||
heroesNew.push_back(CCampaignState::crossoverSerialize(hero));
|
||||
}
|
||||
return heroesNew;
|
||||
}
|
||||
|
||||
void CCampaignState::setCurrentMapAsConquered(const std::vector<CGHeroInstance *> & heroes)
|
||||
{
|
||||
camp->scenarios[*currentMap].crossoverHeroes.clear();
|
||||
|
Reference in New Issue
Block a user