mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01: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