Fixed MSG_PVP_LOG_DATA. Players should be teleported to nearest GY instead of homebind location (by EvilstaR).

This commit is contained in:
tomrus88 2009-04-18 17:11:57 +04:00
parent 9256d68882
commit 3423b5dbb2
2 changed files with 4 additions and 3 deletions

View file

@ -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;