*Fix a crash caused by removing areaaura. Thanks to arthurcik

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-29 16:52:35 -05:00
1 parent 89f4c1c444
commit ff4241e5eb
1 file changed
+3
+3
View File
@@ -695,7 +695,10 @@ void AreaAuraEffect::Update(uint32 diff)
Unit *source = m_target;
Unit *caster = GetCaster();
if (!caster)
{
m_target->RemoveAura(GetParentAura());
return;
}
if( !source->hasUnitState(UNIT_STAT_ISOLATED) )
{