diff options
author | Killyana <morphone1@gmail.com> | 2019-03-13 23:29:52 +0100 |
---|---|---|
committer | Killyana <morphone1@gmail.com> | 2019-03-13 23:29:52 +0100 |
commit | 9ab05e2b6dee2008aac512e98bc477c4ed637cfc (patch) | |
tree | 34512a108989dae0b68d96575f58bebad533a66b | |
parent | 75a8639242c9d28deaa0565aba138d2e05b12db9 (diff) |
Core/SAI: Fix Move to position and Set run if used after a waypoint
Closes #22976
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartAI.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index 3f9502a9ddc..bac9e402c81 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -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) |