mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add slippery group for nodes (players/items slide)
This commit is contained in:
parent
4381fe0a0a
commit
2ea26e655d
5 changed files with 49 additions and 17 deletions
|
@ -403,7 +403,7 @@ void Client::step(float dtime)
|
|||
// Control local player (0ms)
|
||||
LocalPlayer *player = m_env.getLocalPlayer();
|
||||
assert(player);
|
||||
player->applyControl(dtime);
|
||||
player->applyControl(dtime, &m_env);
|
||||
|
||||
// Step environment
|
||||
m_env.step(dtime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue