[7079] Redundant sSpellStore looking removed.

Removed not used variable in for cycle.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-01-13 21:31:42 +01:00
parent 08864a7288
commit e8d32763a6
2 changed files with 3 additions and 3 deletions

View file

@ -4729,9 +4729,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
// Remove any stun effect on target
AuraMap& Auras = pVictim->GetAuras();
for(AuraMap::iterator iter = Auras.begin(), next; iter != Auras.end();)
for(AuraMap::iterator iter = Auras.begin(); iter != Auras.end();)
{
SpellEntry const *spell = sSpellStore.LookupEntry(iter->second->GetSpellProto()->Id);
SpellEntry const *spell = iter->second->GetSpellProto();
if( spell->Mechanic == MECHANIC_STUN ||
spell->EffectMechanic[iter->second->GetEffIndex()] == MECHANIC_STUN)
{