summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-08-12 11:52:32 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2013-08-12 11:52:32 +0200
commit9ad3c525937f6eac9c61bcdbe791fe1e70bdacfe (patch)
tree6bd482e87678e31429db47f838b9e9718a8868d4 /source
parentAdded quartz stairs. (diff)
downloadcuberite-9ad3c525937f6eac9c61bcdbe791fe1e70bdacfe.tar
cuberite-9ad3c525937f6eac9c61bcdbe791fe1e70bdacfe.tar.gz
cuberite-9ad3c525937f6eac9c61bcdbe791fe1e70bdacfe.tar.bz2
cuberite-9ad3c525937f6eac9c61bcdbe791fe1e70bdacfe.tar.lz
cuberite-9ad3c525937f6eac9c61bcdbe791fe1e70bdacfe.tar.xz
cuberite-9ad3c525937f6eac9c61bcdbe791fe1e70bdacfe.tar.zst
cuberite-9ad3c525937f6eac9c61bcdbe791fe1e70bdacfe.zip
Diffstat (limited to 'source')
-rw-r--r--source/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index 03c871736..d9dbf8406 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -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();