forked from mirror/azerothcore-wotlk
fix(Core/Movement): fix creature freeze when switching chase targets (#25058)
Co-authored-by: blinkysc <[email protected]> Co-authored-by: sogladev <[email protected]> Co-authored-by: Treeston <[email protected]>
This commit is contained in:
co-authored by
blinkysc
sogladev
Treeston
parent
00d4f68e36
commit
70687d6ac1
@@ -73,7 +73,7 @@ void ChaseMovementGenerator<T>::SetOffsetAndAngle(std::optional<ChaseRange> dist
|
||||
template<class T>
|
||||
void ChaseMovementGenerator<T>::SetNewTarget(Unit* target)
|
||||
{
|
||||
i_target.link(target, this);
|
||||
SetTarget(target);
|
||||
_lastTargetPosition.reset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user