*Only set guardian's ownerguid in setpet.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-25 10:12:15 -06:00
parent d76578219f
commit d2e0ed5f57
5 changed files with 20 additions and 12 deletions
@@ -111,7 +111,6 @@ struct TRINITY_DLL_DECL boss_vexallusAI : public ScriptedAI
summoned->GetMotionMaster()->MoveFollow(temp,0,0);
//spells are SUMMON_TYPE_GUARDIAN, so using setOwner should be ok
summoned->SetOwnerGUID(m_creature->GetGUID());
summoned->CastSpell(summoned,SPELL_ENERGY_BOLT,false,0,0,m_creature->GetGUID());
}