And the location to add in our ASTAR_JOINUNIT_ENTER (or whatever we call it)......
Code:
void Astar::PropagatePathCost(AstarPoint *node, AstarPoint *parent,
const MapPoint &start, const MapPoint &dest, AstarPoint **cost_tree)
{
..
..
..
if (node->GetEntry() != ASTAR_CAN_ENTER) {
return;
}
..
..
..
Comment