From feb3459bd710bb746d5328f27a6b67d5f7ef1078 Mon Sep 17 00:00:00 2001 From: DJWarmonger Date: Thu, 26 Jul 2018 21:34:52 +0200 Subject: [PATCH] Oops restore. --- AI/VCAI/VCAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AI/VCAI/VCAI.cpp b/AI/VCAI/VCAI.cpp index a7d53957e..0ac937b29 100644 --- a/AI/VCAI/VCAI.cpp +++ b/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 preds;