mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
..
This commit is contained in:
parent
18d1821dab
commit
b8c0a54f92
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user