diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index a5868b528..e4c0fdaa5 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1439,7 +1439,7 @@ void cPlayer::TeleportToCoords(double a_PosX, double a_PosY, double a_PosZ) { SetPosition(a_PosX, a_PosY, a_PosZ); FreezeInternal(GetPosition(), false); - m_LastGroundHeight = static_cast<float>(a_PosY); + m_LastGroundHeight = a_PosY; m_bIsTeleporting = true; m_World->BroadcastTeleportEntity(*this, GetClientHandle()); |