mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-06-20 15:39:25 +02:00
dangling change
This commit is contained in:
parent
9e6a0c0461
commit
0698bb4e4c
@ -3119,8 +3119,7 @@ bool MovementAction::GetTravelPlan(TravelPlan& plan, WorldPosition destination)
|
|||||||
bot->GetPositionY(), bot->GetPositionZ());
|
bot->GetPositionY(), bot->GetPositionZ());
|
||||||
|
|
||||||
bool havePlan = sTravelNodeMap.GetFullPath(plan, botPos,
|
bool havePlan = sTravelNodeMap.GetFullPath(plan, botPos,
|
||||||
bot->GetZoneId(), bot->GetTeamId(),
|
bot->GetZoneId(), destination);
|
||||||
destination);
|
|
||||||
|
|
||||||
if (!havePlan)
|
if (!havePlan)
|
||||||
TeleportFallback(plan, destination, "no plan");
|
TeleportFallback(plan, destination, "no plan");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user