diff options
| author | Sorikoff <46191832+Sorikoff@users.noreply.github.com> | 2019-02-25 08:36:36 +0000 |
|---|---|---|
| committer | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-02-25 09:36:36 +0100 |
| commit | c2f2db08aa4f729fbd5b21528a215f6df0c131b6 (patch) | |
| tree | 45c4d1d79271204fc73ad39e713e145aa8ff9a70 /src/server/scripts/EasternKingdoms | |
| parent | 47e1816bf78ea3050150fa3d4b0a93d8b9b10807 (diff) | |
Allow walk when chasing (#23069)
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | 3 |
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 fe2204b0354..c312bca4268 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp @@ -670,9 +670,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: |
