*Update charm and possess code.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-01-08 21:48:38 -06:00
1 parent b57516e170
commit 2377f49ea8
13 files changed
+363 -363

No files matched your search

+1 -1
View File
@@ -3704,7 +3704,7 @@ void Spell::EffectSummonPossessed(uint32 i)
TempSummonType summonType = (duration == 0) ? TEMPSUMMON_DEAD_DESPAWN : TEMPSUMMON_TIMED_OR_DEAD_DESPAWN;
Creature* c = m_caster->SummonCreature(creatureEntry, px, py, pz, m_caster->GetOrientation(), summonType, duration);
((Player*)m_caster)->Possess(c);
if(c) c->SetCharmedOrPossessedBy(m_caster, true);
}
void Spell::EffectTeleUnitsFaceCaster(uint32 i)