Big rework to A*; factored out path linking

This commit is contained in:
2022-01-18 20:09:37 +01:00
parent 80e990c432
commit 239054df49
4 changed files with 66 additions and 70 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void AAdventurePlayerController::AdvClick()
if (IsValid(Hit.GetActor()))
{
AHexTile* HitHex = (AHexTile*)Hit.GetActor();
MapRef->FindPathAStar(CurrentHex, HitHex);
// MapRef->FindPathAStar(CurrentHex, HitHex);
// UE_LOG(LogTemp, Warning, TEXT("%d"), HitHex->Index);
}
}