aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-03-13 23:29:52 +0100
committerKillyana <morphone1@gmail.com>2019-03-13 23:29:52 +0100
commit9ab05e2b6dee2008aac512e98bc477c4ed637cfc (patch)
tree34512a108989dae0b68d96575f58bebad533a66b
parent75a8639242c9d28deaa0565aba138d2e05b12db9 (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.cpp3
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)