diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index b42be1e5d..66eb0ea1b 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -708,8 +708,6 @@ void SpellMgr::LoadSpellTargetPositions() bar.step(); - ++count; - uint32 Spell_ID = fields[0].GetUInt32(); SpellTargetPosition st; @@ -756,6 +754,7 @@ void SpellMgr::LoadSpellTargetPositions() } mSpellTargetPositions[Spell_ID] = st; + ++count; } while( result->NextRow() ); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c2e206821..663da8171 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 "8447" + #define REVISION_NR "8448" #endif // __REVISION_NR_H__