mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
All heroes-related strings are passed through translator
This commit is contained in:
@@ -55,7 +55,7 @@ void AIPathfinder::updatePaths(std::vector<HeroPtr> heroes)
|
||||
|
||||
auto calculatePaths = [&](const CGHeroInstance * hero, std::shared_ptr<AIPathfinding::AIPathfinderConfig> config)
|
||||
{
|
||||
logAi->debug("Recalculate paths for %s", hero->name);
|
||||
logAi->debug("Recalculate paths for %s", hero->getNameTranslated());
|
||||
|
||||
cb->calculatePaths(config);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user