Scripts/Temple of Anh'Qiraj: Fixed possible crash in mob_anubisath_sentinel

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-20 11:39:12 +01:00
parent 756ee5832b
commit e3e77aceab
2 changed files with 7 additions and 9 deletions
+1 -2
View File
@@ -3435,9 +3435,8 @@ void Unit::_AddAura(UnitAura * aura, Unit * caster)
if (Aura * foundAura = GetOwnedAura(aura->GetId(), aura->GetCasterGUID(), aura->GetCastItemGUID(), 0, aura))
{
if (aura->GetSpellProto()->StackAmount)
{
aura->ModStackAmount(foundAura->GetStackAmount());
}
// Update periodic timers from the previous aura
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
{