ArseniyShestakov hace 10 años
padre
commit
498eb1d032
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/CGameState.cpp

+ 1 - 1
lib/CGameState.cpp

@@ -3406,7 +3406,7 @@ bool CPathfinder::checkDestinationTile()
 	if(dp->coord == CGHeroInstance::convertPosition(hero->pos, false))
 	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
 		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()))
 	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))
 	if(useEmbarkCost && vstd::contains(options, EOptions::EMBARK_AND_DISEMBARK))
 		return true;
 		return true;
 	if(isDestinationGuarded() && !isSourceGuarded())
 	if(isDestinationGuarded() && !isSourceGuarded())