diff --git a/AI/Nullkiller/Pathfinding/AINodeStorage.cpp b/AI/Nullkiller/Pathfinding/AINodeStorage.cpp index 440cf90e6..63bd8ba27 100644 --- a/AI/Nullkiller/Pathfinding/AINodeStorage.cpp +++ b/AI/Nullkiller/Pathfinding/AINodeStorage.cpp @@ -411,7 +411,7 @@ bool AINodeStorage::hasBetterChain(const PathNodeInfo & source, CDestinationNode "Block ineficient move %s:->%s, mask=%i, mp diff: %i", source.coord.toString(), destination.coord.toString(), - destinationNode->chainMask, + destinationNode->actor->chainMask, node.moveRemains - destinationNode->moveRemains); #endif return true; diff --git a/AI/Nullkiller/Pathfinding/Rules/AIMovementAfterDestinationRule.cpp b/AI/Nullkiller/Pathfinding/Rules/AIMovementAfterDestinationRule.cpp index 45ec27230..9abf64be6 100644 --- a/AI/Nullkiller/Pathfinding/Rules/AIMovementAfterDestinationRule.cpp +++ b/AI/Nullkiller/Pathfinding/Rules/AIMovementAfterDestinationRule.cpp @@ -109,7 +109,7 @@ namespace AIPathfinding return; } - AIPathNode * battleNode = battleNodeOptional.get(); + AIPathNode * battleNode = battleNodeOptional.get(); if(battleNode->locked) {