mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/SAI: Fix Move to position and Set run if used after a waypoint
Closes #22976
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user