From 6fba66fdeda9cbe21387f63032e1972e79837267 Mon Sep 17 00:00:00 2001 From: QSOS Date: Fri, 9 Jul 2010 22:47:40 +0300 Subject: [PATCH] [10173] Fix infinity loop in 31884 spell code Signed-off-by: Laise --- src/game/SpellAuras.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index a991f3c17..cf9e51414 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -8314,7 +8314,7 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply) { int32 percent = 0; Unit::AuraList const& dummyAuras = m_target->GetAurasByType(SPELL_AURA_DUMMY); - for(Unit::AuraList::const_iterator itr = dummyAuras.begin(); itr != dummyAuras.end(); itr) + for(Unit::AuraList::const_iterator itr = dummyAuras.begin(); itr != dummyAuras.end(); ++itr) { if ((*itr)->GetSpellProto()->SpellIconID == 3029) { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 06ef87ad9..844574dc6 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10172" + #define REVISION_NR "10173" #endif // __REVISION_NR_H__