aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 9ecbdd6d478..54c86fa874a 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -4552,6 +4552,8 @@ void Player::RepopAtGraveyard()
GetSession()->SendPacket(&data);
}
}
+ else if(GetPositionZ() < -500.0f)
+ TeleportTo(m_homebindMapId, m_homebindX, m_homebindY, m_homebindZ, GetOrientation());
}
void Player::JoinedChannel(Channel *c)