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