diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index e64f0eb1d..c49de70bb 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -4136,7 +4136,7 @@ DynamicObject * Unit::GetDynObject(uint32 spellId) GameObject* Unit::GetGameObject(uint32 spellId) const { - for (GameObjectList::const_iterator i = m_gameObj.begin(); i != m_gameObj.end();) + for (GameObjectList::const_iterator i = m_gameObj.begin(); i != m_gameObj.end(); ++i) if ((*i)->GetSpellId() == spellId) return *i; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 293164a61..4ba09ea19 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 "7861" + #define REVISION_NR "7862" #endif // __REVISION_NR_H__