Skip to content

Commit

Permalink
[7142] Fixed teleporting ghosts away from grave at lost control.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
balrok authored and VladimirMangos committed Jan 22, 2009
1 parent 5f6af67 commit dbb1ef5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game/BattleGroundAB.cpp
Expand Up @@ -409,9 +409,9 @@ void BattleGroundAB::_NodeDeOccupied(uint8 node)
{
WorldSafeLocsEntry const *ClosestGrave = NULL;
Player *plr;
for (std::vector<uint64>::iterator itr = ghost_list.begin(); itr != ghost_list.end(); ++itr)
for (std::vector<uint64>::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 )
Expand Down
2 changes: 1 addition & 1 deletion 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__

3 comments on commit dbb1ef5

@Lake292
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should get added into 0.12 branch

@VladimirMangos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done: http://github.com/mangos/mangos/commit/fa35f59a7bf2fc6f5902ec1a9f87340863493ca1

@Lake292
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank u :)

Please sign in to comment.