--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-25 12:51:14 -05:00
commit 00f50798d3
11 files changed
+114 -30

No files matched your search

+3
View File
@@ -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()