*Move MoveFollow owner from MoveTargetedHome to enterevademode.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-12 10:11:54 -05:00
1 parent 65b10830b8
commit df4e8b456b
4 files changed
+14 -21

No files matched your search

+1 -8
View File
@@ -1054,14 +1054,7 @@ void CreatureEventAI::JustReachedHome()
void CreatureEventAI::EnterEvadeMode()
{
m_creature->RemoveAllAuras();
m_creature->DeleteThreatList();
m_creature->CombatStop(true);
if (m_creature->isAlive())
m_creature->GetMotionMaster()->MoveTargetedHome();
m_creature->SetLootRecipient(NULL);
CreatureAI::EnterEvadeMode();
if (bEmptyList)
return;