浏览代码

Oops restore.

DJWarmonger 7 年之前
父节点
当前提交
feb3459bd7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AI/VCAI/VCAI.cpp

+ 1 - 1
AI/VCAI/VCAI.cpp

@@ -3345,7 +3345,7 @@ int3 SectorMap::firstTileToGet(HeroPtr h, crint3 dst)
 
 
 	if(sourceSector != destinationSector) //use ships, shipyards etc..
 	if(sourceSector != destinationSector) //use ships, shipyards etc..
 	{
 	{
-		if(ai->isAccessibleForHero(dst, h, true)) //pathfinder can find a way using ships and gates if tile is not blocked by objects
+		if(ai->isAccessibleForHero(dst, h)) //pathfinder can find a way using ships and gates if tile is not blocked by objects
 			return dst;
 			return dst;
 
 
 		std::map<const Sector *, const Sector *> preds;
 		std::map<const Sector *, const Sector *> preds;