[10187] 2 non-sense code lines cleanup.

This commit is contained in:
VladimirMangos 2010-07-13 03:55:04 +04:00
parent a0ea5cde4d
commit 04ec18afce
2 changed files with 5 additions and 6 deletions

View file

@ -7326,7 +7326,7 @@ void Spell::EffectDispelMechanic(SpellEffectIndex eff_idx)
{
next = iter;
++next;
SpellEntry const *spell = sSpellStore.LookupEntry(iter->second->GetSpellProto()->Id);
SpellEntry const *spell = iter->second->GetSpellProto();
if (spell->Mechanic == mechanic || iter->second->HasAuraAndMechanicEffect(mechanic))
{
unitTarget->RemoveAurasDueToSpell(spell->Id);
@ -7336,7 +7336,6 @@ void Spell::EffectDispelMechanic(SpellEffectIndex eff_idx)
next = Auras.begin();
}
}
return;
}
void Spell::EffectSummonDeadPet(SpellEffectIndex /*eff_idx*/)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10186"
#define REVISION_NR "10187"
#endif // __REVISION_NR_H__