mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-17 13:29:41 -04:00
*Fix a crash caused by removing areaaura. Thanks to arthurcik
--HG-- branch : trunk
This commit is contained in:
@@ -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) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user