[10259] Fix some iterator in Aura::HandleAuraModShapeshift

This commit is contained in:
Laise 2010-07-24 17:07:12 +03:00
parent 756e29f891
commit 4d5729e68c
2 changed files with 2 additions and 2 deletions

View file

@ -2814,7 +2814,7 @@ void Aura::HandleAuraModShapeshift(bool apply, bool Real)
// remove movement affects
target->RemoveSpellsCausingAura(SPELL_AURA_MOD_ROOT);
Unit::AuraList const& slowingAuras = target->GetAurasByType(SPELL_AURA_MOD_DECREASE_SPEED);
for (Unit::AuraList::const_iterator iter = slowingAuras.begin(); iter != slowingAuras.end();)
for (Unit::AuraList::iterator iter = slowingAuras.begin(); iter != slowingAuras.end();)
{
SpellEntry const* aurSpellInfo = (*iter)->GetSpellProto();

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10258"
#define REVISION_NR "10259"
#endif // __REVISION_NR_H__