mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07: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
|
|
@ -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