summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/Player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index 808976a6c..b2643f2c8 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -777,6 +777,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());