diff options
author | megamage <none@none> | 2009-02-27 12:57:33 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-27 12:57:33 -0600 |
commit | 361f4b2e3c15e46865c21af0759fc73eb749a33a (patch) | |
tree | d1dcbbdb8054d114445f8635fdc04f293b509b31 /src/game/Level1.cpp | |
parent | 31e71cef1b5ca91c739009df45221d322ecb65ec (diff) |
[7353] Fixed problem with joining rated arena matches. Thanks to balrok for help. Author: Triply
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level1.cpp')
-rw-r--r-- | src/game/Level1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp index 062f262a826..90b167b06f0 100644 --- a/src/game/Level1.cpp +++ b/src/game/Level1.cpp @@ -783,7 +783,7 @@ bool ChatHandler::HandleNamegoCommand(const char* args) } // all's well, set bg id // when porting out from the bg, it will be reset to 0 - chr->SetBattleGroundId(m_session->GetPlayer()->GetBattleGroundId()); + chr->SetBattleGroundId(m_session->GetPlayer()->GetBattleGroundId(), m_session->GetPlayer()->GetBattleGroundTypeId()); // remember current position as entry point for return at bg end teleportation chr->SetBattleGroundEntryPoint(chr->GetMapId(),chr->GetPositionX(),chr->GetPositionY(),chr->GetPositionZ(),chr->GetOrientation()); } @@ -901,7 +901,7 @@ bool ChatHandler::HandleGonameCommand(const char* args) } // all's well, set bg id // when porting out from the bg, it will be reset to 0 - _player->SetBattleGroundId(chr->GetBattleGroundId()); + _player->SetBattleGroundId(chr->GetBattleGroundId(), chr->GetBattleGroundTypeId()); // remember current position as entry point for return at bg end teleportation _player->SetBattleGroundEntryPoint(_player->GetMapId(),_player->GetPositionX(),_player->GetPositionY(),_player->GetPositionZ(),_player->GetOrientation()); } |