فهرست منبع

Update AINodeStorage.cpp

The node of a disembark-action can no longer be part of a hero-chain since sea-to-land-trade isn't possible and landing first eats up all movement-points.
Xilmi 1 سال پیش
والد
کامیت
1495ec56f6
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      AI/Nullkiller/Pathfinding/AINodeStorage.cpp

+ 1 - 0
AI/Nullkiller/Pathfinding/AINodeStorage.cpp

@@ -721,6 +721,7 @@ void HeroChainCalculationTask::calculateHeroChain(
 		if(node->action == EPathNodeAction::BATTLE
 			|| node->action == EPathNodeAction::TELEPORT_BATTLE
 			|| node->action == EPathNodeAction::TELEPORT_NORMAL
+			|| node->action == EPathNodeAction::DISEMBARK
 			|| node->action == EPathNodeAction::TELEPORT_BLOCKING_VISIT)
 		{
 			continue;