mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Fixed MSG_PVP_LOG_DATA. Players should be teleported to nearest GY instead of homebind location (by EvilstaR).
This commit is contained in:
parent
9256d68882
commit
3423b5dbb2
2 changed files with 4 additions and 3 deletions
|
|
@ -1307,6 +1307,7 @@ void BattleGroundMgr::BuildPvpLogDataPacket(WorldPacket *data, BattleGround *bg)
|
|||
{
|
||||
*data << uint32(bg->m_ArenaTeamRatingChanges[i]);
|
||||
*data << uint32(3999); // huge thanks for TOM_RUS for this!
|
||||
*data << uint32(0); // added again in 3.1
|
||||
sLog.outDebug("rating change: %d", bg->m_ArenaTeamRatingChanges[i]);
|
||||
}
|
||||
for(int i = 1; i >= 0; --i)
|
||||
|
|
|
|||
|
|
@ -17059,8 +17059,8 @@ void Player::UpdateHomebindTime(uint32 time)
|
|||
{
|
||||
if (time >= m_HomebindTimer)
|
||||
{
|
||||
// teleport to homebind location
|
||||
TeleportTo(m_homebindMapId, m_homebindX, m_homebindY, m_homebindZ, GetOrientation());
|
||||
// teleport to nearest graveyard
|
||||
RepopAtGraveyard();
|
||||
}
|
||||
else
|
||||
m_HomebindTimer -= time;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue