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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user