Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*

This commit is contained in:
jackpoz committed 2014-05-20 21:21:33 +02:00
1 parent d36ecbf4a3
commit 1083dbb993
148 files changed
+728 -746

No files matched your search

+1 -1
View File
@@ -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