aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
authorSorikoff <46191832+Sorikoff@users.noreply.github.com>2019-02-25 08:36:36 +0000
committerShauren <shauren.trinity@gmail.com>2021-11-24 00:02:13 +0100
commitb3f75852c284e730756a7f007b96bbae0ac3c158 (patch)
treebcaa966bc7609acad23703d129d6629a0df473e7 /src/server/scripts/EasternKingdoms
parent72e71837a0ca423f02beb271c6b085a3bd984219 (diff)
Allow walk when chasing (#23069)
(cherry picked from commit c2f2db08aa4f729fbd5b21528a215f6df0c131b6)
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
index e9219d3c110..1a9c39fa454 100644
--- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
@@ -675,9 +675,8 @@ struct npc_dark_rider_of_acherus : public ScriptedAI
{
case EVENT_START_MOVING:
me->SetTarget(_horseGUID);
- me->SetWalk(true);
if (Creature* horse = ObjectAccessor::GetCreature(*me, _horseGUID))
- me->GetMotionMaster()->MoveChase(horse);
+ me->GetMotionMaster()->MoveChase(horse, {}, {}, true);
_events.ScheduleEvent(EVENT_DESPAWN_HORSE, 5s);
break;
case EVENT_DESPAWN_HORSE: