1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Added text container with map translations to campaign state

Fixes missing translations for heroes names customized on maps after
their transfer to next scenario
This commit is contained in:
Ivan Savenko
2024-01-31 20:01:24 +02:00
parent 5c5fb523a4
commit 290cc1510b
6 changed files with 16 additions and 7 deletions

View File

@@ -664,7 +664,7 @@ bool CGameStateCampaign::playerHasStartingHero(PlayerColor playerColor) const
return false;
}
std::unique_ptr<CMap> CGameStateCampaign::getCurrentMap() const
std::unique_ptr<CMap> CGameStateCampaign::getCurrentMap()
{
return gameState->scenarioOps->campState->getMap(CampaignScenarioID::NONE, gameState->callback);
}