1
0

Keep players from taking damage when teleporting. (Hopefully).

Fixes #29
This commit is contained in:
Alexander Harkness 2013-08-09 16:18:24 +01:00
parent 23b15a926c
commit eaec6a4aab

View File

@ -765,6 +765,7 @@ void cPlayer::SendMessage(const AString & a_Message)
void cPlayer::TeleportToCoords(double a_PosX, double a_PosY, double a_PosZ)
{
m_LastGroundHeight = (float)a_PosY();
SetPosition( a_PosX, a_PosY, a_PosZ );
m_World->BroadcastTeleportEntity(*this, GetClientHandle());