mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-06-20 15:39:25 +02:00
fix(Core/Movement): Default GeneratePath forceDestination to false (matches cmangos)
This commit is contained in:
parent
4bf7be04f3
commit
05b956ae61
@ -88,7 +88,7 @@ protected:
|
||||
bool FleePosition(Position pos, float radius, uint32 minInterval = 1000);
|
||||
bool CheckLastFlee(float curAngle, std::list<FleeInfo>& infoList);
|
||||
|
||||
PathResult GeneratePath(float x, float y, float z, uint32 acceptMask = DEFAULT_PATH_ACCEPT_MASK, bool forceDestination = true);
|
||||
PathResult GeneratePath(float x, float y, float z, uint32 acceptMask = DEFAULT_PATH_ACCEPT_MASK, bool forceDestination = false);
|
||||
|
||||
bool GetTravelPlan(TravelPlan& plan, WorldPosition destination);
|
||||
bool ExecuteTravelPlan(TravelPlan& state);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user