aboutsummaryrefslogtreecommitdiff
path: root/src/game/WorldSession.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-10 01:16:16 -0600
committermegamage <none@none>2009-02-10 01:16:16 -0600
commit029554d4e30ea654ac1a4f5362c60d946a80d04f (patch)
tree970a32f5369752fe8fc4b6a287521b64432ac3d5 /src/game/WorldSession.cpp
parent58374f87b4b3eb2f92dfa8f28969b187a544e6b2 (diff)
[7255] Allows saving characters in Battle Grounds.
* Now player can join to BG after logout during 5 minutes, if BG in progress. * All players after server crash or restart should appear at the battlemaster Author: GriffonHeart --HG-- branch : trunk
Diffstat (limited to 'src/game/WorldSession.cpp')
-rw-r--r--src/game/WorldSession.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp
index 36f4414fd1f..edcb0dc8a39 100644
--- a/src/game/WorldSession.cpp
+++ b/src/game/WorldSession.cpp
@@ -314,10 +314,6 @@ void WorldSession::LogoutPlayer(bool Save)
_player->RepopAtGraveyard();
}
- ///- Remove player from battleground (teleport to entrance)
- if(_player->InBattleGround())
- _player->LeaveBattleground();
-
///- Teleport to home if the player is in an invalid instance
if(!_player->m_InstanceValid && !_player->isGameMaster())
_player->TeleportTo(_player->m_homebindMapId, _player->m_homebindX, _player->m_homebindY, _player->m_homebindZ, _player->GetOrientation());