Browse Source

Nullkiller - rough stabilisation

Andrii Danylchenko 4 years ago
parent
commit
c1e521a544

+ 1 - 1
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;

+ 1 - 1
AI/Nullkiller/Pathfinding/Rules/AIMovementAfterDestinationRule.cpp

@@ -109,7 +109,7 @@ namespace AIPathfinding
 				return;
 			}
 
-			AIPathNode *  battleNode = battleNodeOptional.get();
+			AIPathNode * battleNode = battleNodeOptional.get();
 
 			if(battleNode->locked)
 			{