mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Fix player controls only being applied for the first move
This commit is contained in:
parent
6e4d8de104
commit
ebb721a476
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue