mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
..
This commit is contained in:
@@ -4170,7 +4170,7 @@ bool ArenaTactics::Execute(Event event)
|
||||
PathGenerator path(bot);
|
||||
path.CalculatePath(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), false);
|
||||
|
||||
if (path.IsValid() && path.GetPathType() != PATHFIND_NOPATH)
|
||||
if (path.GetPathType() != PATHFIND_NOPATH)
|
||||
{
|
||||
float x, y, z;
|
||||
target->GetPosition(x, y, z);
|
||||
|
||||
Reference in New Issue
Block a user