fix(Core/SmartAI): Fix SAI's SetFollow behavior so it doesn’t inherit movement speed (#26539)
This commit is contained in:
@@ -1239,7 +1239,7 @@ void SmartAI::SetFollow(Unit* target, float dist, float angle, uint32 credit, ui
|
|||||||
mFollowArrivedEntry = end;
|
mFollowArrivedEntry = end;
|
||||||
mFollowArrivedAlive = !aliveState; // negate - 0 is alive
|
mFollowArrivedAlive = !aliveState; // negate - 0 is alive
|
||||||
mFollowCreditType = creditType;
|
mFollowCreditType = creditType;
|
||||||
me->GetMotionMaster()->MoveFollow(target, mFollowDist, mFollowAngle);
|
me->GetMotionMaster()->MoveFollow(target, mFollowDist, mFollowAngle, MOTION_SLOT_ACTIVE, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SmartAI::StopFollow(bool complete)
|
void SmartAI::StopFollow(bool complete)
|
||||||
|
|||||||
Reference in New Issue
Block a user