diff --git a/src/game/BattleGroundAB.cpp b/src/game/BattleGroundAB.cpp index 45421f908..0aea8b9b7 100644 --- a/src/game/BattleGroundAB.cpp +++ b/src/game/BattleGroundAB.cpp @@ -409,9 +409,9 @@ void BattleGroundAB::_NodeDeOccupied(uint8 node) { WorldSafeLocsEntry const *ClosestGrave = NULL; Player *plr; - for (std::vector::iterator itr = ghost_list.begin(); itr != ghost_list.end(); ++itr) + for (std::vector::const_iterator itr = ghost_list.begin(); itr != ghost_list.end(); ++itr) { - plr = objmgr.GetPlayer(*ghost_list.begin()); + plr = objmgr.GetPlayer(*itr); if( !plr ) continue; if( !ClosestGrave ) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 4fe9f1a74..2714b05be 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 "7141" + #define REVISION_NR "7142" #endif // __REVISION_NR_H__