Core/SAI: Fix Move to position and Set run if used after a waypoint

Closes #22976
This commit is contained in:
Killyana
2019-03-13 23:29:52 +01:00
parent 75a8639242
commit 9ab05e2b6d

View File

@@ -715,9 +715,6 @@ ObjectGuid SmartAI::GetGUID(int32 /*id*/) const
void SmartAI::SetRun(bool run)
{
if (run == mRun)
return;
me->SetWalk(!run);
mRun = run;
for (auto& node : _path.nodes)