*Merge.
--HG-- branch : trunk
This commit is contained in:
commit
00f50798d3
11 files changed
+114
-30
No files matched your search
@@ -467,6 +467,9 @@ void WorldSession::HandleBattleGroundPlayerPortOpcode( WorldPacket &recv_data )
|
||||
_player->SetBattleGroundId(bg->GetInstanceID(), bgTypeId);
|
||||
// set the destination team
|
||||
_player->SetBGTeam(team);
|
||||
// clear AFK
|
||||
if(_player->isAFK())
|
||||
_player->ToggleAFK();
|
||||
// bg->HandleBeforeTeleportToBattleGround(_player);
|
||||
sBattleGroundMgr.SendToBattleGround(_player, instanceId, bgTypeId);
|
||||
// add only in HandleMoveWorldPortAck()
|
||||
|
||||
Reference in new issue
Block a user