summaryrefslogtreecommitdiff
path: root/src/client/clientenvironment.cpp
diff options
context:
space:
mode:
authorTheTermos <55103816+TheTermos@users.noreply.github.com>2020-07-03 17:21:42 +0200
committersfan5 <sfan5@live.de>2020-07-07 19:09:23 +0200
commitebb721a476ada0350b73fe44efa66850397b9e96 (patch)
tree42a0dcd8732c8a0c9c8438f5095bc52eef7ca44b /src/client/clientenvironment.cpp
parent6e4d8de10442eecf71ba36ad015872a135a53338 (diff)
downloadminetest-ebb721a476ada0350b73fe44efa66850397b9e96.tar.gz
minetest-ebb721a476ada0350b73fe44efa66850397b9e96.tar.bz2
minetest-ebb721a476ada0350b73fe44efa66850397b9e96.zip
Fix player controls only being applied for the first move
Diffstat (limited to 'src/client/clientenvironment.cpp')
-rw-r--r--src/client/clientenvironment.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/clientenvironment.cpp b/src/client/clientenvironment.cpp
index 44ea1e4a1..895b0193c 100644
--- a/src/client/clientenvironment.cpp
+++ b/src/client/clientenvironment.cpp
@@ -216,6 +216,9 @@ void ClientEnvironment::step(float dtime)
*/
{
+ // Control local player
+ lplayer->applyControl(dtime_part, this);
+
// Apply physics
if (!free_move && !is_climbing) {
// Gravity