mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[7142] Fixed teleporting ghosts away from grave at lost control.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
f26d6151c8
commit
6bdb95dfc3
2 changed files with 3 additions and 3 deletions
|
|
@ -409,9 +409,9 @@ void BattleGroundAB::_NodeDeOccupied(uint8 node)
|
||||||
{
|
{
|
||||||
WorldSafeLocsEntry const *ClosestGrave = NULL;
|
WorldSafeLocsEntry const *ClosestGrave = NULL;
|
||||||
Player *plr;
|
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 )
|
if( !plr )
|
||||||
continue;
|
continue;
|
||||||
if( !ClosestGrave )
|
if( !ClosestGrave )
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7141"
|
#define REVISION_NR "7142"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue