diff options
| author | megamage <none@none> | 2009-04-27 21:32:39 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-04-27 21:32:39 -0500 |
| commit | f069a9ee36116418622f942cc8eceb70d384919c (patch) | |
| tree | 182b4c5a75803153a48890e7da0bd12c208ead8b | |
| parent | bd4c2bdb64c4b21463a7a0a188af7b314aa529d0 (diff) | |
*Let summoned guardian follow owner by default.
--HG--
branch : trunk
| -rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 0532be77b8e..54fb21d334b 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6468,6 +6468,8 @@ void Spell::SummonGuardian(uint32 entry, SummonPropertiesEntry const *properties ((Guardian*)summon)->InitStatsForLevel(level); summon->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id); + + summon->GetMotionMaster()->MoveTargetedHome(); } } |
