This commit is contained in:
Shauren
2016-07-06 10:25:56 +02:00
committed by Aokromes
parent 67bb661def
commit 6e755d05d8

View File

@@ -58,7 +58,7 @@ class PathGenerator
// Calculate the path from owner to given destination
// return: true if new path was calculated, false otherwise (no change needed)
bool CalculatePath(float destX, float destY, float destZ, bool forceDest = false, bool straightLine = false);
bool IsInvalidDestinationZ(Unit const* target) const
bool IsInvalidDestinationZ(Unit const* target) const;
// option setters - use optional
void SetUseStraightPath(bool useStraightPath) { _useStraightPath = useStraightPath; }