mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 20:52:22 -04:00
Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*
This commit is contained in:
@@ -437,7 +437,7 @@ void SmartAI::EnterEvadeMode()
|
||||
}
|
||||
else if (mFollowGuid)
|
||||
{
|
||||
if (Unit* target = me->GetUnit(*me, mFollowGuid))
|
||||
if (Unit* target = ObjectAccessor::GetUnit(*me, mFollowGuid))
|
||||
me->GetMotionMaster()->MoveFollow(target, mFollowDist, mFollowAngle);
|
||||
|
||||
// evade is not cleared in MoveFollow, so we can't keep it
|
||||
|
||||
Reference in New Issue
Block a user