1
0

Keep players from taking damage when teleporting.

This commit is contained in:
STRWarrior 2013-08-12 02:52:32 -07:00
parent 83d3635e0b
commit 9ad3c52593

View File

@ -777,8 +777,8 @@ 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_LastGroundHeight = (float)a_PosY;
m_World->BroadcastTeleportEntity(*this, GetClientHandle());
m_ClientHandle->SendPlayerMoveLook();