fix(Core/Movement): Default GeneratePath forceDestination to false (matches cmangos)

This commit is contained in:
bash 2026-05-08 11:50:52 +02:00
parent 86100aa66b
commit cbba63acd1

View File

@ -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);