1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Added encapsulation for CampaignState class

This commit is contained in:
Ivan Savenko
2023-06-26 00:01:25 +03:00
parent 8420a90aa4
commit a08fe09517
12 changed files with 203 additions and 127 deletions

View File

@@ -210,8 +210,8 @@ void ClientCommandManager::handleConvertTextCommand()
for (auto const & campaignName : campaignList)
{
auto state = CampaignHandler::getCampaign(campaignName.getName());
for (auto const & part : state->mapPieces)
state->getMap(part.first);
for (auto const & part : state->allScenarios())
state->getMap(part);
}
VLC->generaltexth->dumpAllTexts();