diff options
| author | offl <11556157+offl@users.noreply.github.com> | 2022-06-04 23:56:37 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-04 23:56:37 +0300 |
| commit | 861ec6a5b9a1e579e3cc3e415898fe7a2a28cf62 (patch) | |
| tree | e8c541032e0ac475709122bb5d52968c3fbfde6d /src/server/game/AI/SmartScripts | |
| parent | a7fe0494bf6d6737b0a874ceddac0e2c089a7ce8 (diff) | |
Scripts/Quest: Rework 'The Way to His Heart...' & make SAI's StopFollow work again (#28001)
Diffstat (limited to 'src/server/game/AI/SmartScripts')
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartAI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index c7dbdfe6653..a35676754e3 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -851,6 +851,7 @@ void SmartAI::StopFollow(bool complete) _followArrivedTimer = 1000; _followArrivedEntry = 0; _followCreditType = 0; + me->GetMotionMaster()->Clear(); me->GetMotionMaster()->MoveIdle(); if (!complete) |
