Core/SAI: Fix Move to position and Set run if used after a waypoint
Port From (https://github.com/TrinityCore/TrinityCore/commit/e5eff882826c8ae7943519ba355ba7c544274336)
This commit is contained in:
@@ -773,9 +773,6 @@ namespace Game.AI
|
|||||||
|
|
||||||
public void SetRun(bool run)
|
public void SetRun(bool run)
|
||||||
{
|
{
|
||||||
if (run == _run)
|
|
||||||
return;
|
|
||||||
|
|
||||||
me.SetWalk(!run);
|
me.SetWalk(!run);
|
||||||
_run = run;
|
_run = run;
|
||||||
foreach (var node in _path.nodes)
|
foreach (var node in _path.nodes)
|
||||||
|
|||||||
Reference in New Issue
Block a user