summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index a4b580b00..41c1542d3 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -249,7 +249,9 @@ void cPlayer::Tick(float a_Dt, cChunk & a_Chunk)
}
if (IsFlying())
+ {
m_LastGroundHeight = (float)GetPosY();
+ }
}