1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-25 21:38:59 +02:00

Fix typos

This commit is contained in:
ArseniyShestakov 2015-10-19 05:16:18 +03:00
parent 9954dfb33a
commit 498eb1d032

View File

@ -3406,7 +3406,7 @@ bool CPathfinder::checkDestinationTile()
if(dp->coord == CGHeroInstance::convertPosition(hero->pos, false))
return true; // This one is tricky, we can ignore fact that tile is not ACCESSIBLE in case if it's our hero block it. Though this need investigation
if(dp->accessible == CGPathNode::VISITABLE && CGTeleport::isTeleport(dt->topVisitableObj()))
return true; // For now we'll walways allos transit for teleports
return true; // For now we'll always allow transit for teleporters
if(useEmbarkCost && vstd::contains(options, EOptions::EMBARK_AND_DISEMBARK))
return true;
if(isDestinationGuarded() && !isSourceGuarded())