소스 검색

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(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;
 
 		std::map<const Sector *, const Sector *> preds;