diff --git a/AI/BattleAI/BattleExchangeVariant.cpp b/AI/BattleAI/BattleExchangeVariant.cpp index c4675afc0..60b6b4b02 100644 --- a/AI/BattleAI/BattleExchangeVariant.cpp +++ b/AI/BattleAI/BattleExchangeVariant.cpp @@ -857,15 +857,6 @@ BattleScore BattleExchangeEvaluator::calculateExchange( exchangeBattle->nextRound(); } - // avoid blocking path for stronger stack by weaker stack - // the method checks if all stacks can be placed around enemy - std::map reachabilityMap; - - auto hexes = ap.attack.defender->getSurroundingHexes(); - - for(auto hex : hexes) - reachabilityMap[hex] = getOneTurnReachableUnits(turn, hex); - auto score = v.getScore(); if(simulationTurnsCount < totalTurnsCount)