Fixed freezes on controller calling MarkPath() to invalid locations
This commit is contained in:
@@ -48,19 +48,15 @@ public:
|
||||
|
||||
// Pathfinding
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
float MoveCost = 10;
|
||||
int32 MoveCost = 1;
|
||||
UPROPERTY()
|
||||
int32 FCost;
|
||||
UPROPERTY()
|
||||
int32 GCost = 9999;
|
||||
UPROPERTY()
|
||||
int32 HCost;
|
||||
UPROPERTY(BlueprintReadWrite, VisibleInstanceOnly, Category = "Runtime")
|
||||
AHexTile* CameFrom;
|
||||
UPROPERTY(BlueprintReadWrite, VisibleInstanceOnly, Category = "Runtime")
|
||||
AHexTile* LeadsTo;
|
||||
UPROPERTY(BlueprintReadWrite, VisibleInstanceOnly, Category = "Runtime")
|
||||
bool bDiagMove = false;
|
||||
UPROPERTY()
|
||||
float FCost;
|
||||
UPROPERTY()
|
||||
float GCost;
|
||||
UPROPERTY()
|
||||
float HCost = 9999;
|
||||
|
||||
// MapObject Placement
|
||||
UPROPERTY(BlueprintReadWrite, VisibleAnywhere)
|
||||
|
||||
Reference in New Issue
Block a user