Skip to content

Commit

Permalink
Mark Holder as ready on AREA_AURA addition
Browse files Browse the repository at this point in the history
(based on cmangos/mangos-wotlk@9862e43d0)

Signed-off-by: Xfurry <xfurry.cmangos@outlook.com>
  • Loading branch information
killerwife authored and xfurry committed Jan 4, 2018
1 parent b576f74 commit f8856c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/Spells/SpellAuras.cpp
Expand Up @@ -826,10 +826,12 @@ void AreaAura::Update(uint32 diff)
holder->SetInUse(false);
}
else
{
if ((*tIter)->AddSpellAuraHolder(holder))
holder->SetState(SPELLAURAHOLDER_STATE_READY);
else
delete holder;
}
}
}
Aura::Update(diff);
Expand Down

0 comments on commit f8856c4

Please sign in to comment.