1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix typos

This commit is contained in:
Ivan Savenko 2023-03-06 13:19:49 +02:00
parent 0b3c10d990
commit aeb653c919
2 changed files with 4 additions and 4 deletions

View File

@ -211,7 +211,7 @@ void DefenceBehavior::evaluateDefence(Goals::TGoalVec & tasks, const CGTownInsta
if(path.turn() <= treat.turn - 2)
{
#if NKAI_TRACE_LEVEL >= 1
logAi->trace("Deffer defence of %s by %s because he has enough time to rich the town next trun",
logAi->trace("Defer defence of %s by %s because he has enough time to reach the town next trun",
town->name,
path.targetHero->name);
#endif

View File

@ -161,7 +161,7 @@ void ExecuteHeroChain::accept(AIGateway * ai)
if(node.turns == 0)
{
logAi->error(
"Enable to complete chain. Expected hero %s to arive to %s but he is at %s",
"Unable to complete chain. Expected hero %s to arive to %s but he is at %s",
hero->getNameTranslated(),
node.coord.toString(),
hero->visitablePos().toString());
@ -169,7 +169,7 @@ void ExecuteHeroChain::accept(AIGateway * ai)
return;
}
// no exception means we were not able to rich the tile
// no exception means we were not able to reach the tile
ai->nullkiller->lockHero(hero, HeroLockedReason::HERO_CHAIN);
blockedIndexes.insert(node.parentIndex);
}
@ -177,7 +177,7 @@ void ExecuteHeroChain::accept(AIGateway * ai)
{
if(!heroPtr.validAndSet())
{
logAi->debug("Hero %s was killed while attempting to rich %s", heroPtr.name, node.coord.toString());
logAi->debug("Hero %s was killed while attempting to reach %s", heroPtr.name, node.coord.toString());
return;
}