diff options
| author | offl <11556157+offl@users.noreply.github.com> | 2022-06-04 23:56:37 +0300 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-06-10 19:22:08 +0200 |
| commit | 04b0596021e63680f666052c1f0ed49498f59a2c (patch) | |
| tree | 2d88c52b436e1d3ec225383e839fc987cb582fea /src/server/game/AI/SmartScripts | |
| parent | 45bbbd5acd8b68b98860283d70d17b6ab527dcdf (diff) | |
Scripts/Quest: Rework 'The Way to His Heart...' & make SAI's StopFollow work again (#28001)
(cherry picked from commit 861ec6a5b9a1e579e3cc3e415898fe7a2a28cf62)
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 ef5dac43d9d..345227c8e9f 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -852,6 +852,7 @@ void SmartAI::StopFollow(bool complete) _followArrivedTimer = 1000; _followArrivedEntry = 0; _followCreditType = 0; + me->GetMotionMaster()->Clear(); me->GetMotionMaster()->MoveIdle(); if (!complete) |
