*Move MoveFollow owner from MoveTargetedHome to enterevademode.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-12 10:11:54 -05:00
parent 65b10830b8
commit df4e8b456b
4 changed files with 14 additions and 21 deletions

View File

@@ -3275,7 +3275,7 @@ void Spell::EffectSummonType(uint32 i)
summon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
summon->GetMotionMaster()->MoveTargetedHome();
summon->AI()->EnterEvadeMode();
std::string name = m_originalCaster->GetName();
name.append(petTypeSuffix[3]);
@@ -6423,7 +6423,7 @@ void Spell::SummonGuardian(uint32 entry, SummonPropertiesEntry const *properties
summon->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
summon->GetMotionMaster()->MoveTargetedHome();
summon->AI()->EnterEvadeMode();
}
}