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:
blinkysc
2026-03-11 09:20:15 -05:00
committed by GitHub
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();
}